From 9ba12b12753764187345d609e124956b362b9aef Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Sat, 29 Oct 2005 14:43:12 +0000 Subject: [PATCH] Check cygwin enviroment in mingw build script --- dist-gpw.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dist-gpw.sh b/dist-gpw.sh index 334cfe9..f292e88 100755 --- a/dist-gpw.sh +++ b/dist-gpw.sh @@ -3,6 +3,13 @@ # Create a archive 'gpw32-*.zip' (gpwYMMDD.zip) with Win32 (MinGW) build # of the Golded+. +if [ ! $OSTYPE = "cygwin" ] +then + echo "This is not Cygwin enviroment, exit." + exit +fi + + date=`date +%Y%m%d` name=../gpw32-115-${date}.zip