Mark Knecht schreef:
> On 8/17/05, Holly Bostick <[EMAIL PROTECTED]> wrote:
>
>>Mark Knecht schreef:
>>
>>>Yes, it does, but it still didn't tell me what profile I'm running:
>>>
>>>[EMAIL PROTECTED] ~ $ ls /etc/make.profile/
>>>2.4 packages parent
>>>[EMAIL PROTECTED] ~ $
>>>
>>>where as
>>>
>>>[EMAIL PROTECTED] ~ $ cat /etc/make.profile/packages | grep profile
>>># $Header:
>>>/var/cvsroot/gentoo-x86/profiles/default-linux/x86/2005.0/packages,v
>>>1.3 2005/03/28 22:09:18 wolf31o2 Exp $
>>># please refer to ${PORTDIR}/profiles/base/packages
>>>[EMAIL PROTECTED] ~ $
>>>
>>>seems to say 2005.0 which is consistent with the most recent CD I've burned.
>>>
>>
>>You know, that's very weird, Mark-- on my system
>
>
> Hi Holly,
> Ugh...what time is it there? 4 or 5AM?
Yeah (6 am, now). I couldn't sleep.
>
> Try both versions
>
> ls -l /etc/make.profile
> ls -l /etc/make.profile/
>
>
>>
>> ls -l /etc/make.profile
>>lrwxrwxrwx 1 root root 46 jun 17 03:33 /etc/make.profile ->
>>/usr/portage/profiles/default-linux/x86/2005.0
>>
and yes, with the trailing slash, I get the same results as you
ls -l /etc/make.profile/
totaal 8
drwxr-xr-x 2 portage portage 120 jan 21 2005 2.4
-rw-r--r-- 1 root root 679 mrt 29 00:35 packages
-rw-r--r-- 1 portage portage 343 dec 3 2004 parent
... but that makes sense to me, because the first command is ls-ing the
symlink only (thus gives the properties of the symlink, as ls always
does if you specify a single file), and the second command (with the
slash) is ls-ing the contents of the symlink, which in this case happens
to be a folder.
I think I thought that you were getting the contents when you weren't
ls-ing the folder, but only the symlink.
I should probably get some sleep, then, huh?
Holly
--
[email protected] mailing list