X-Recipient: archive-cygwin@delorie.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@gmail.com>
To: cygwin@cygwin.com
Subject: Re: A $ in my path...
In-Reply-To: <20149694.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <20132275.post@talk.nabble.com> 	 <D1CE63BB766844448B4A8CDC82658DE4020CB9AB42@NALASEXMB03.na.qualcomm.com> 	 <20149694.post@talk.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@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/

