Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13814 - env-update miss-sets ROOTPATH and PATH for /etc/csh.env
Summary: env-update miss-sets ROOTPATH and PATH for /etc/csh.env
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-12 20:21 UTC by Arthur Britto
Modified: 2011-10-30 22:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Britto 2003-01-12 20:21:30 UTC
For csh/tcsh the $path should be space delimited not colon delimited.

/usr/lib/python2.2/site-packages/portage.py needs to have a list of environment
variables to use space delimiting for csh.env.  For now, this seems to be just
ROOTPATH and PATH.
Comment 1 SpanKY gentoo-dev 2003-01-12 23:09:01 UTC
the PATH variables can be : delimited but the path variable must be space
delimited ...
if you do not set the path variable, the shell will automagically take colon
delimited PATH and turn it into a space delimited path
Comment 2 Arthur Britto 2003-01-12 23:13:43 UTC
Unfortunately, /etc/csh.cshrc uses $ROOTPATH:

if ($USER == "root") then
        set path = (/bin /sbin /usr/bin /usr/sbin $ROOTPATH)
        #077 would be more secure, but 022 is generally quite realistic
        umask 022
else

So the bug is in /etc/csh.cshrc?