]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/distrib/all/build-rpm
enable building just the unicode version, or both unicode and ansi
[wxWidgets.git] / wxPython / distrib / all / build-rpm
index 9438872a7869269fd8f50535129052cb71894b0f..d04f25ba70caea7c5b297e3f7b0761684f441ceb 100755 (executable)
@@ -7,11 +7,12 @@ set -o errexit
 coHost=$1
 host=$2
 reltag=$3
-shift;shift;shift
-pyver=$@
+pyver=$4
 
-if [ $pyver = config ]; then
-    pyver=$PYVER
+if [ $buildansi = yes ]; then
+    CHARTYPE=both
+else
+    CHARTYPE=unicode
 fi
 
 
@@ -81,7 +82,7 @@ if [ $skiplinux != yes ]; then
     
     echo "Running build script on $host..."
     cmd=./do-build-rpm
-    ssh root@$host "cd $LINUX_BUILD && $cmd $reltag $skipclean $VERSION $pyver"
+    ssh root@$host "cd $LINUX_BUILD && $cmd $reltag $skipclean $VERSION $pyver $CHARTYPE"
     
     echo "Fetching the results..."
     scp "root@$host:$LINUX_BUILD/wxPython*.i[0-9]86.rpm"  $STAGING_DIR