> > if test [-dc:/tools]; then ...
>
> ... in fact test seems to be happy with no spaces around the square
> brackets. I think it may be only if you want to use the implicit form
> of test that the brackets need to be separated with spaces from the test
> inside them, so that bash spots them as
Gerrit P. Haase wrote on Thursday, November 11, 2004 3:13 PM:
[snip]
> A snippet from the Makefile you're using would help, please
> see also the
> other postings with more tipps -> http://cygwin.com/ml/cygwin/2004-11/
... or older: http://www.cygwin.com/ml/cygwin/2000-06/msg01318.html
- Jörg
Prasad, Kanuparthi wrote:
Hi,
I tried, but it doesn't work. I tried using cygwin syntax to access drives.
but invain.
Also I tried by typing this script at the prompt. but it doesn't work the
way it is expected.
Should I need to execute it in a separate shell, if so, how is it done.
A snippet f
gards,
sitaram
-Original Message-
From: Gerrit P. Haase [mailto:[EMAIL PROTECTED]
Sent: 11 November 2004 11:32
To: Prasad, Kanuparthi
Cc: '[EMAIL PROTECTED]'
Subject: Re: if construct doesn't work in makefile
Prasad, Kanuparthi wrote:
> Hi,
>
> In my make file I am tryi
> -Original Message-
> From: cygwin-owner On Behalf Of Prasad, Kanuparthi
> Sent: 11 November 2004 11:16
> In my make file I am trying to check whether a directory
> exists or not
> then set a path differently if doesn't exist.
> I am using cygwin installed on windows 2000.
> The if
> -Original Message-
> From: cygwin-owner On Behalf Of Morche Matthias
> Sent: 11 November 2004 12:22
> cygwin-ownerOOOPScygwinBADOIN!com wrote:
Matthias, http://cygwin.com/acronyms#PCYMTNQREAIYR, thanks!
> > In my make file I am trying to check whether a directory exists or
> >
> -Original Message-
> From: cygwin-owner On Behalf Of Gerrit P. Haase
> Sent: 11 November 2004 11:32
> Prasad, Kanuparthi wrote:
> > Hi,
> >
> > In my make file I am trying to check whether a directory
> exists or not
> > then set a path differently if doesn't exist.
> > I am using
Prasad, Kanuparthi wrote:
Hi,
In my make file I am trying to check whether a directory exists or not
then set a path differently if doesn't exist.
I am using cygwin installed on windows 2000.
The if construct I have is as follows.
if test [-dc:/tools]; then DRIVE = c:/tools; else DRIVE = c:
[EMAIL PROTECTED] wrote:
> Hi,
>
> In my make file I am trying to check whether a directory exists or
> not then set a path differently if doesn't exist.
> I am using cygwin installed on windows 2000.
> The if construct I have is as follows.
>
> if test [-dc:/tools]; then DRIVE = c:/tools
Hi,
In my make file I am trying to check whether a directory exists or not
then set a path differently if doesn't exist.
I am using cygwin installed on windows 2000.
The if construct I have is as follows.
if test [-dc:/tools]; then DRIVE = c:/tools; else DRIVE = c:/altTools; fi
pls help
10 matches
Mail list logo