delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <001f01c10ebc$1cef2640$1630220a@sonytel.be> |
From: | "Francis Meyvis" <francis DOT meyvis AT sonycom DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | PATH troubles |
Date: | Tue, 17 Jul 2001 14:29:24 +0200 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.00.2314.1300 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
Hoi, I've a strange problem with PATH variable on w2k and nt4. I installed cygwin in c:\cygwin. I've the following shell script tst.sh (it calls a dos bat shell script from within bash): c:\temp\tst.bat The dos batch script just contains: @echo %PATH% When I invoke the following from within bash shell export PATH=$PATH:c:/temp echo $PATH ./tst.sh I get as a result /usr/local/bin:/usr/bin:/cygdrive/c/Python21/:/usr/bin ... :c:/temp c:\cygwin\usr\local\bin;c:\cygwin\bin .... :c:\cygwin\temp The first line is from the echo $PATH (notice that I agree on the c:/temp at the end) The second is from the bat file. Why is there a "cygwin" inserted between the drive letter and temp directory. I do not have this problem when I use //c/temp instead of c:/temp when modifying the $PATH variable Note that c:\cygwin is mounted as / in textmode. --- Kind regards, francis meyvis Sony Software Development Center - Europe +32 2 724 8 643, Sint StevensWoluwestraat 55, B1130 Brussels, Belgium -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |