| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <f60fe000810240709p13937d4bke4d706faca5a611b@mail.gmail.com> |
| Date: | Fri, 24 Oct 2008 10:09:44 -0400 |
| From: | "Mark J. Reed" <markjreed AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: A $ in my path... |
| In-Reply-To: | <20149694.post@talk.nabble.com> |
| MIME-Version: | 1.0 |
| References: | <20132275 DOT post AT talk DOT nabble DOT com> <D1CE63BB766844448B4A8CDC82658DE4020CB9AB42 AT NALASEXMB03 DOT na DOT qualcomm DOT com> <20149694 DOT post AT talk DOT nabble DOT com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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 AT gmail DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |