X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a432a02b4e5b49f9531d9b8afe66c2c5f3c95d71..9f9a581228fddeb301aaa82ac60d865b5674a186:/wxPython/distrib/all/build-rpm diff --git a/wxPython/distrib/all/build-rpm b/wxPython/distrib/all/build-rpm index 4c371a8682..4542dd7e3d 100755 --- a/wxPython/distrib/all/build-rpm +++ b/wxPython/distrib/all/build-rpm @@ -3,17 +3,16 @@ set -o errexit -# read the config variables from the file given on the command line -. $1 -coHost=$2 -host=$3 -reltag=$4 -shift;shift;shift;shift -pyver=$@ +coHost=$1 +host=$2 +reltag=$3 +pyver=$4 -if [ $pyver = config ]; then - pyver=$PYVER +if [ $buildansi = yes ]; then + CHARTYPE=both +else + CHARTYPE=unicode fi @@ -29,7 +28,7 @@ function TestOnline { } -if [ $skiplinux != yes ]; then +if [ $skiprpm != yes ]; then startedCoHost=no hostAvailable=no @@ -83,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