This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: $OSTYPE - Aaaaaaaaaaaaaaargh !
- To: jorg dot schaible at db dot com
- Subject: Re: $OSTYPE - Aaaaaaaaaaaaaaargh !
- From: Corinna Vinschen <corinna at vinschen dot de>
- Date: Wed, 31 May 2000 14:13:43 +0200
- CC: cygwin at sourceware dot cygnus dot com
- References: <OFEA7BC5D3.CC6DE44A-ON002568F0.004153E5@srv.uk.deuba.com>
- Reply-To: cygwin <cygwin at sourceware dot cygnus dot com>
jorg.schaible@db.com wrote:
>
> Hello,
>
> with the lastest version of the bash the content of $OSTYPE has changed from "cygwin" to "cygwin32" again without further notice. Since I used this entry to detect the old B20.1 from the new Cygnus V1.1 I have now a lot of broken scripts and makefiles that have to run on both versions. This drives me really crazy!
>
> So is there any *reliable* method to detect the version of Cygwin from a script ?
uname -r
Corinna
--
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com