Changes between Initial Version and Version 2 of Ticket #43798


Ignore:
Timestamp:
May 23, 2014, 2:47:57 PM (10 years ago)
Author:
mf2k (Frank Schima)
Comment:

In the future, please use WikiFormatting. As reporter, you do not need to Cc yourself.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43798

    • Property Component changed from ports to base
  • Ticket #43798 – Description

    initial v2  
    33I'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:
    44
     5{{{
    56# MacPorts Installer addition on 2014-05-22_at_14:46:03: adding an appropriate PATH variable for use with MacPorts.
    67setenv PATH /opt/local/bin:/opt/local/sbin:$PATH
    78# Finished adapting your PATH environment variable for use with MacPorts.
     9}}}
    810
    911I 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:
    1012
     13{{{
    1114setenv PATH "/opt/local/bin:/opt/local/sbin:$PATH"
     15}}}
    1216
    1317Note 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.