X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7940844666e386a264a407486a05effd7c3f39f3..9e9300c4576acb09a9fca823330fb48529c629d0:/wxPython/distrib/all/build-all?ds=sidebyside diff --git a/wxPython/distrib/all/build-all b/wxPython/distrib/all/build-all index 7c75c89111..4358b6c390 100755 --- a/wxPython/distrib/all/build-all +++ b/wxPython/distrib/all/build-all @@ -145,6 +145,8 @@ VERSION=`python -c "import setup;print setup.VERSION"` #echo VERSION=$VERSION #exit 0 +echo "Getting started at " `date` + # --------------------------------------------------------------------------- # Make the sources and other basic stuff. @@ -253,16 +255,16 @@ if [ $skiposx != yes ]; then # Untar it on the remote machine, and then run the build script echo "Unarchiving source file on $OSX_HOST..." - ssh $OSX_HOST "cd $OSX_SHARED_REMOTE && tar xzf wxPythonSrc-$VERSION.tar.gz && rm wxPythonSrc-$VERSION.tar.gz" + ssh root@$OSX_HOST "cd $OSX_SHARED_REMOTE && tar xzf wxPythonSrc-$VERSION.tar.gz && rm wxPythonSrc-$VERSION.tar.gz" echo "Running build script on $OSX_HOST..." wxdir=$OSX_SHARED_REMOTE/wxPythonSrc-$VERSION cmd=$wxdir/wxPython/distrib/all/build-osx - ssh $OSX_HOST "cd $wxdir && $cmd $wxdir $OSX_SHARED_REMOTE $skipclean $VERSION $PYVER" + ssh root@$OSX_HOST "cd $wxdir && $cmd $wxdir $OSX_SHARED_REMOTE $skipclean $VERSION $PYVER" echo "Fetching the results..." cp $OSX_SHARED/wxPythonOSX* $STAGING_DIR - ssh $OSX_HOST "cd $OSX_SHARED_REMOTE && rm wxPythonOSX*" + ssh root@$OSX_HOST "cd $OSX_SHARED_REMOTE && rm wxPythonOSX*" # unmount? if [ -n "$OSX_UMOUNT" ]; then @@ -324,6 +326,7 @@ chmod a+r $STAGING_DIR/* if [ $KIND = dryrun ]; then # we're done + echo "Finished at " `date` exit 0 fi @@ -345,7 +348,15 @@ if [ $KIND = daily ]; then # only N days worth # TODO: Send email to wxPython-dev? - cat < +To: $TO +Subject: New test build uploaded +Date: $DATE + Hi, A new test build of wxPython has been uploaded to starship. @@ -356,8 +367,10 @@ A new test build of wxPython has been uploaded to starship. Have fun! R'bot + EOF + echo "Finished at " `date` exit 0 fi @@ -378,6 +391,7 @@ if [ $KIND = release ]; then rm $STAGING_DIR/* rmdir $STAGING_DIR + echo "Finished at " `date` exit 0 fi