X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cbbb5d41b5b45f412eef27b1628582886c3418e..f5ed42f875325bbadce5e43fe7131e295724359d:/wxPython/distrib/all/build-rpm diff --git a/wxPython/distrib/all/build-rpm b/wxPython/distrib/all/build-rpm index 9438872a78..d04f25ba70 100755 --- a/wxPython/distrib/all/build-rpm +++ b/wxPython/distrib/all/build-rpm @@ -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