- # mount the shared folder?
- if [ -n "$WIN_MOUNT" ]; then
- echo "Mounting shared folder..."
- $WIN_MOUNT
- fi
-
- # Copy the src file
- echo "Copying source file..."
- cp $STAGING_DIR/wxPythonSrc-$VERSION.tar.gz $WIN_SHARED
-
- # Untar it on the remote machine, and then run the build script
- echo "Unarchiving source file on $WIN_HOST..."
- ssh $WIN_HOST "cd $WIN_SHARED_REMOTE && tar xzf wxPythonSrc-$VERSION.tar.gz && rm wxPythonSrc-$VERSION.tar.gz"
-
- echo "Running build script on $WIN_HOST..."
- wxdir=$WIN_SHARED_REMOTE/wxPythonSrc-$VERSION
- cmd=$wxdir/wxPython/distrib/all/build-windows
- ssh $WIN_HOST "cd $wxdir && $cmd $wxdir $WIN_SHARED_REMOTE $skipclean $VERSION $PYVER"
+ echo "Copying source file and build script..."
+ scp $STAGING_DIR/wxPython-src-$VERSION.tar.gz \
+ distrib/all/build-windows \
+ $WIN_HOST:$WIN_BUILD