This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is this supposed to work this way?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]