Check cygwin enviroment in mingw build script
This commit is contained in:
parent
f7c47b6179
commit
9ba12b1275
@ -3,6 +3,13 @@
|
|||||||
# 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" ]
|
||||||
|
then
|
||||||
|
echo "This is not Cygwin enviroment, exit."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
date=`date +%Y%m%d`
|
date=`date +%Y%m%d`
|
||||||
name=../gpw32-115-${date}.zip
|
name=../gpw32-115-${date}.zip
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user