PATH Issues

Sieranski, Greg greg.sieranski at quoininc.com
Wed May 21 15:24:48 UTC 2008


Sieranski, Greg wrote:
> Bill Crawford wrote:
>> 2008/5/21 Sieranski, Greg <greg.sieranski at quoininc.com>:
>> ...
>>  
>>> to double check things I logged back out and my PATH is now back to:
>>>
>>> /home/gps/opt/jdk1.6.0_06/bin:/home/gps/opt/hg:/sbin:/home/gps/bin:/home/gps/opt/jdk1.6.0_06/bin:/home/gps/opt/hg:/sbin:/home/gps/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin 
>>>
>>>
>>> again with everything being added twice. This is really strange. Any
>>> thoughts?
>>>     
>>
>> grep -F opt/hg /etc/profile.d/*
>>
>>   
> [~] $ grep -F opt/hg /etc/profile.d/*
> [~] $
>
> Produces no results.
>
> thanks,
> Greg Sieranski
>
Could it have something to do with the
                            ·if [ "$2" = "after" ] ; then
     45 »·······»·······»·······»·······PATH=$PATH:$1
     46 »·······»·······»·······else
     47 »·······»·······»·······»·······PATH=$1:$PATH
     48 »·······»·······»·······fi

in /etc/bashrc?




More information about the fedora-list mailing list