From 0d6f75cfe77aa11f4266bde3a813ee1e3b5e5a36 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Sat, 5 Nov 2005 21:36:39 +0000 Subject: [PATCH] fix cygwin enviromant detection --- dist-gpw.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dist-gpw.sh b/dist-gpw.sh index f292e88..2420abb 100755 --- a/dist-gpw.sh +++ b/dist-gpw.sh @@ -3,13 +3,12 @@ # Create a archive 'gpw32-*.zip' (gpwYMMDD.zip) with Win32 (MinGW) build # of the Golded+. -if [ ! $OSTYPE = "cygwin" ] +if [ ! "${TERM}" = "cygwin" ] then echo "This is not Cygwin enviroment, exit." exit fi - date=`date +%Y%m%d` name=../gpw32-115-${date}.zip