X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c518f98523e211e65f2089dc15e16836486d9e..3901007753bc3584ea2ae5759d61876e85e0c082:/wxPython/distrib/all/build-rpm?ds=sidebyside diff --git a/wxPython/distrib/all/build-rpm b/wxPython/distrib/all/build-rpm index 7b7c3b0be6..d04f25ba70 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=$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 @@ -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