Changes between Initial Version and Version 2 of Ticket #43798
- Timestamp:
- May 23, 2014, 2:47:57 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #43798
-
Property
Component
changed from
ports
tobase
-
Property
Component
changed from
-
Ticket #43798 – Description
initial v2 3 3 I'm using macports on Mavericks, with tcsh as my shell. I noticed that upon opening my terminal screen, I was seeing "setenv: Too many arguments." I looked at my .cshrc file and saw this: 4 4 5 {{{ 5 6 # MacPorts Installer addition on 2014-05-22_at_14:46:03: adding an appropriate PATH variable for use with MacPorts. 6 7 setenv PATH /opt/local/bin:/opt/local/sbin:$PATH 7 8 # Finished adapting your PATH environment variable for use with MacPorts. 9 }}} 8 10 9 11 I think this setenv was causing the problem because my local $PATH setting has escaped space characters in it, and the whole thing is enclosed in quotes. I think this problem would be solved if macports would simply wrap its setenv PATH in quotes: 10 12 13 {{{ 11 14 setenv PATH "/opt/local/bin:/opt/local/sbin:$PATH" 15 }}} 12 16 13 17 Note that I'm not a real programmer so I may not know what I'm talking about, but I thought if I was right this might help someone else.