delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/02/03:41:12

From: mh AT mike DOT franken DOT de (Michael Hirmke)
Subject: Re: `${UNAME}` not working....
2 May 1998 03:41:12 -0700 :
Message-ID: <6t2et0S4pfB.cygnus.gnu-win32@mike.franken.de>
References: <3 DOT 0 DOT 5 DOT 32 DOT 19980429115459 DOT 00bfe460 AT nema DOT com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hi Jon,

>One configure script I use does:
>
>if test x`${UNAME}` = "xCYGWIN32_NT"; then echo "bleh bleh, NT, bleh";
           ^^^^^^^^
           where does this env var
           come form ? never saw it
           before.

>else echo "NT not found, bleh bleh"; fi


if test "x$(uname)" = "xCYGWIN32_NT"; then echo "bleh bleh, NT, bleh";
else echo "NT not found, bleh bleh"; fi

works as expected.

>
>This used to work in beta 18, in beta 19.1 it doesn't...if I change it to
>text x`UNAME` it does work, but of course then it will generate error when
>run under other *nix OS's...
>
>Any clues on this behavior?
>
>Jon

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh AT mike DOT franken DOT de
                         | WWW     http://minimike.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019