RE: unusual (?) bash $PATH in linux... |
||
![]() Ker mercurus G'day >the $PATH variable in bash (bash-2.05b-6mdk, mandrake 9.0) has a double-slash in the first instance of '/usr/bin' (reads '/usr//bin'), and has an empty entry between the second instance of '/usr/bin' and '/usr/local/bin'. (reads '/usr/bin/::/usr/local/bin'). meh, that's not right... :P -1 Mandrake, 0 RedHat A lot of people have had problems with Bash-2.05b but I think this is an individual system config issue, caused by Mandrake I guess... >i've had this pose a problem while compiling/configuring a few programs. now, i can fix this temporarily by manually setting a corrected $PATH; of course, everytime i close then open a new shell, the weird entries return. I take it there is a 'PATH=' entry and an 'export PATH' in your .bash_profile file ? > however, i've looked through the .bash_profile for my login and /etc/profile, and i can't figure out where these bad entries are generated. either i can't see it, or there's something else in the system that's generating this bum $PATH. The other place to check would be /etc/profile just in case its set as a global PATH... Hope that helps Cheers mercurus Replies:
|
||
| CyberArmy::Forum v0.6 Generated In 0.00512 seconds |