X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/36e910973a850800894e0f1b999c2e06207572c0..477550dc0cd5a38bfae7c32e3fe9d8823c13a761:/wxPython/distrib/all/build-osx diff --git a/wxPython/distrib/all/build-osx b/wxPython/distrib/all/build-osx index 0c9fccd673..77fc27d89a 100755 --- a/wxPython/distrib/all/build-osx +++ b/wxPython/distrib/all/build-osx @@ -30,6 +30,17 @@ VERSION=$4 shift;shift;shift;shift PYVER=$@ + +export PATH=/sw/bin:$PATH + + +# untar the source +echo "Unarchiving wxPythonSrc-$VERSION.tar.gz" +cd $DESTDIR +tar xzf wxPythonSrc-$VERSION.tar.gz +rm wxPythonSrc-$VERSION.tar.gz + + echo "Invoking wxPythonOSX build script..." cd $WXDIR/wxPython export TARBALLDIR=$DESTDIR @@ -44,7 +55,9 @@ cd $DESTDIR if [ $SKIPCLEAN != yes ]; then echo "Cleaning up..." - rm -r $WXDIR + rm -r $WXDIR || true + rm wxPythonDocs-$VERSION.tar.gz + rm wxPythonDemo-$VERSION.tar.gz fi echo "-=-=-=- Goodbye! -=-=-=-"