Is this supposed to work this way?

Andrey Repin anrdaemon@freemail.ru
Wed Apr 4 00:50:00 GMT 2012


Greetings, Buchbinder, Barry (NIH/NIAID) [E]!

> Is there a reason that something like the following wouldn't work?

> if [ -f /bin/cygwin1.dll ]

Hm. Turned out, this is more reliable check, than
test "$OSTYPE" = "cygwin" && ...

But, oh, so much for consistency...

Question to Cygwin staff: shouldn't $OSTYPE be declared for Cygwin programs,
even if they are not started from Cygwin shell? Is this at all possible?


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 04.04.2012, <04:44>

Sorry for my terrible English...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list