Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <5.0.0.25.0.20001202211316.029f33a0@pop.bresnanlink.net> X-Sender: cabbey AT pop DOT bresnanlink DOT net (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Sat, 02 Dec 2000 21:13:54 -0600 To: cygwin AT sources DOT redhat DOT com From: Chris Abbey Subject: [patch] adding ~/bin to path Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed I just had some one complain that their own bin dir wasn't being picked up like it was on Linux... the fix was a trivial addition to /etc/profile I had put on my own machine ages ago without even thinking about it. ~/cygwin/src/winsup/cinstall $ cvs diff -ub desktop.cc Index: desktop.cc =================================================================== RCS file: /cvs/src/src/winsup/cinstall/desktop.cc,v retrieving revision 2.6 diff -u -b -r2.6 desktop.cc --- desktop.cc 2000/11/09 01:40:15 2.6 +++ desktop.cc 2000/12/03 03:11:46 @@ -65,6 +65,9 @@ "if [ -z \"$HOME\" ]; then", " HOME=\"/home/$USER\"", "fi", + "if [ -d \"$HOME/bin\" ]; then", + " PATH=\"$HOME/bin:$PATH\"", + "fi", "", "if [ ! -d \"$HOME\" ]; then", " mkdir -p \"$HOME\"", ~/cygwin/src/winsup/cinstall $ now the forces of openness have a powerful and unexpected new ally http://ibm.com/linux/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com