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
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! -=-=-=-"