This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: `${UNAME}` not working....
- To: gnu-win32 at cygnus dot com
- Subject: Re: `${UNAME}` not working....
- From: mh at mike dot franken dot de (Michael Hirmke)
- Date: 01 May 1998 15:00:00 +0200
- Organization: Kommunikationsnetz Franken e.V. (Nuernberg)
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@mike.franken.de
| WWW http://minimike.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".