A $ in my path...
Mark J. Reed
markjreed@gmail.com
Fri Oct 24 14:11:00 GMT 2008
Sid Manning> Would this work?
SM> cd /home
SM> ln -s $HOME/csmith
SM> cd csmith
SM> export HOME=`pwd`
Problematic Routes> This worked nicely, and so I've added it to my
.bashrc - thanks!
I recommend protecting it to avoid repeating the process and getting
broken links; this should work (and also leaves $HOME alone if any of
the steps fail):
case "$HOME" in
*$*) cd /home && ln -s "$HOME" ./csmith && cd ./csmith && HOME="${PWD}";;
esac
> Andrew
> --
> View this message in context: http://www.nabble.com/A-%24-in-my-path...-tp20132275p20149694.html
> Sent from the Cygwin list mailing list archive at Nabble.com.
>
>
> --
> 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/
>
>
--
Mark J. Reed <markjreed@gmail.com>
--
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/
More information about the Cygwin
mailing list