You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Bill Burton <bi...@progress.com> on 2001/12/05 04:07:40 UTC

[PATCH] bootstrap.sh - fix for Cygwin $OSTYPE

Hello,

Attached is a patch to bootstrap.sh which uses uname instead of the OSTYPE
variable for determining if Cygwin is in use.  Apparently newer versions
of bash do not export OSTYPE so it can't be tested for in scripts.  The
patch uses the same methodology as the ant script for detecting Cygwin so
these scripts will now be consistent and the OSTYPE problem will be
eliminated.

-Bill