X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: Date: Fri, 24 Oct 2008 10:09:44 -0400 From: "Mark J. Reed" To: cygwin AT cygwin DOT 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 DOT post AT talk DOT nabble 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 -- 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/