From: Robin Dunn Date: Fri, 6 Aug 2004 00:02:02 +0000 (+0000) Subject: more build tweaks X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ba9a89855363ded8fdd039758ac3a6a1c7f5fff8?hp=7acd36259b464d7139128f2e53acf04b3110eb71 more build tweaks git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/distrib/all/build-all b/wxPython/distrib/all/build-all index e224ebce19..f461347094 100755 --- a/wxPython/distrib/all/build-all +++ b/wxPython/distrib/all/build-all @@ -218,11 +218,11 @@ function DoOSXBuild { # test if the target machine is online if ping -q -c1 -w1 $host > /dev/null; then echo "-----------------------------------------------------------------" - echo " The $host machine is online, build continuing..." + echo " The $host machine is online, OSX-$flavor build continuing..." echo "-----------------------------------------------------------------" else echo "-----------------------------------------------------------------" - echo "The $host machine is offline, skipping the OSX $flavor build." + echo "The $host machine is offline, skipping the OSX-$flavor build." echo "-----------------------------------------------------------------" return 0 fi @@ -230,7 +230,7 @@ function DoOSXBuild { echo "-=-=- Starting OSX-$flavor build on $host..." echo "Copying source files and build script..." - ssh $host "mkdir -p $OSX_BUILD && rm -rf $OSX_BUILD/*" + ssh root@$host "mkdir -p $OSX_BUILD && rm -rf $OSX_BUILD/* || true" scp $STAGING_DIR/wxPythonSrc-$VERSION.tar.gz \ $STAGING_DIR/wxPythonDocs-$VERSION.tar.gz \ $STAGING_DIR/wxPythonDemo-$VERSION.tar.gz \ diff --git a/wxPython/distrib/all/build-linux b/wxPython/distrib/all/build-linux index 67d3e28c55..cb2a02b70e 100755 --- a/wxPython/distrib/all/build-linux +++ b/wxPython/distrib/all/build-linux @@ -18,7 +18,7 @@ set -o errexit echo "-=-=-=- Hello from $HOSTNAME -=-=-=-" -if [ $# -lt 4]; then +if [ $# -lt 4 ]; then echo "Usage: $0 WXDIR DESTDIR SKIPCLEAN VERSION PYVER..." exit 1 fi diff --git a/wxPython/distrib/all/build-osx b/wxPython/distrib/all/build-osx index 04eff1e016..112aacadd0 100755 --- a/wxPython/distrib/all/build-osx +++ b/wxPython/distrib/all/build-osx @@ -33,7 +33,7 @@ shift;shift;shift;shift;shift PYVER=$@ -export PATH=/sw/bin:$PATH +export PATH=/sw/bin:/usr/local/bin:$PATH # untar the source diff --git a/wxPython/distrib/all/release b/wxPython/distrib/all/release new file mode 100755 index 0000000000..e76295c4d2 --- /dev/null +++ b/wxPython/distrib/all/release @@ -0,0 +1,4 @@ +#!/bin/bash + +distrib/all/build-all release $* 2>&1 | tee daily.log +