This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
First off, you could have actually removed the offending entries from the PATH using something like
OFFENDING_ENTRY="/cygdrive/c/ClearCase/bin" PATH="`echo "$PATH" | sed "s#:$OFFENDING_ENTRY##"`"
Alternatively, if you want to translate any Win32 path to a Cygwin (POSIX) path, use the "cygpath" utility, like this:
PATH=${PATH}:"`cygpath -u "$SYSTEMROOT/system32"`"
Glad it helped. Out of curiousity, which one of the two solutions above did you mean?
OFFENDING_ENTRY="/cygdrive/c/ClearCase/bin" PATH="`echo "$PATH" | sed "s#:$OFFENDING_ENTRY##"`"
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |