fix cygwin enviromant detection

This commit is contained in:
Stas Degteff 2005-11-05 21:36:39 +00:00
parent 2f4c3809e1
commit 0d6f75cfe7

View File

@ -3,13 +3,12 @@
# Create a archive 'gpw32-*.zip' (gpwYMMDD.zip) with Win32 (MinGW) build # Create a archive 'gpw32-*.zip' (gpwYMMDD.zip) with Win32 (MinGW) build
# of the Golded+. # of the Golded+.
if [ ! $OSTYPE = "cygwin" ] if [ ! "${TERM}" = "cygwin" ]
then then
echo "This is not Cygwin enviroment, exit." echo "This is not Cygwin enviroment, exit."
exit exit
fi fi
date=`date +%Y%m%d` date=`date +%Y%m%d`
name=../gpw32-115-${date}.zip name=../gpw32-115-${date}.zip