]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/all/build-windows
2 #----------------------------------------------------------------------
9 if [ $skipwin != yes ]; then
10 # test if the target machine is online
11 if ping -q -c1 -w1 $WIN_HOST > /dev
/null
; then
12 echo " The $WIN_HOST machine is online, Windows build continuing..."
14 echo "The $WIN_HOST machine is **OFFLINE**, skipping the Windows build."
18 echo "Copying source file and build script..."
19 scp
$STAGING_DIR/wxPython
-src-$VERSION.
tar.bz2 \
20 distrib
/all
/do-build-windows \
23 echo "Running build script on $WIN_HOST..."
24 wxdir
=$WIN_BUILD/wxPython
-src-$VERSION
25 cmd
=.
/do-build-windows
26 ssh $WIN_HOST "cd $WIN_BUILD && $cmd $wxdir $WIN_BUILD $skipclean $VERSION $PYVER && rm $cmd"
28 echo "Fetching the results..."
29 scp
"$WIN_HOST:$WIN_BUILD/wxPython*-win32*" $STAGING_DIR
30 ssh $WIN_HOST "rm $WIN_BUILD/wxPython*-win32*"