diff g23m/winebuild.sh @ 16:dc9d25ac72a9

initial preparations for building both 2091 and 2092 configs
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 06 Sep 2015 02:28:00 +0000
parents 509db1a7b7b8
children
line wrap: on
line diff
--- a/g23m/winebuild.sh	Sun Sep 06 02:17:08 2015 +0000
+++ b/g23m/winebuild.sh	Sun Sep 06 02:28:00 2015 +0000
@@ -8,7 +8,14 @@
 # Also added the TZ=GMT setting: without it Wine produces additional whines
 # about not being able to map my Unix timezone to a Weenie equivalent.
 
+if [ -n "$1" ]
+then
+	config="$1"
+else
+	config=2091
+fi
+
 set -x
 tty_mode_save=`stty -g`
-TZ=GMT nowhine cmd /c build.bat
+TZ=GMT nowhine cmd /c build_${config}.bat
 stty "$tty_mode_save"