set -o errexit
# read the config variables from the file given on the command line
-. $1
+# . $1
-host=$2
-flavor=$3
+host=$1
+flavor=$2
+pyver=$3
if [ $skiposx != yes ]; then
# test if the target machine is online
echo "Running build script on $host..."
wxdir=$OSX_BUILD/wxPython-src-$VERSION
cmd=./do-build-osx
- ssh root@$host "cd $OSX_BUILD && $cmd $wxdir $OSX_BUILD $skipclean $VERSION $flavor $PYVER && rm $cmd"
+ ssh root@$host "cd $OSX_BUILD && $cmd $wxdir $OSX_BUILD $skipclean $VERSION $flavor $pyver && rm $cmd"
echo "Fetching the results..."
scp "root@$host:$OSX_BUILD/wxPython*-osx*" $STAGING_DIR
ssh root@$host "rm $OSX_BUILD/wxPython*-osx*"
+
+ echo "Done!"
+ sleep 1
fi