Remove the source dir before starting in case the previous build failed and didn’t clean up.

This commit is contained in:
Robin Dunn
2016-12-02 14:12:00 -08:00
parent e4a7667fd6
commit a862b70c65

View File

@@ -43,7 +43,7 @@ function do_build {
FLAG=$3
# setup
echo "**** do_build ****"
echo "**** do_build $TAG $FLAG ****"
echo "Using Python from VENV $VENV"
ORIG_PATH=$PATH
export PATH=$VENV/bin:$PATH
@@ -74,6 +74,7 @@ function do_build {
# Get things started...
rm -rf ~/wxPython_Phoenix-*
echo "Unpacking source archive..."
tar xzf $TARBALL
@@ -94,4 +95,4 @@ for VENV in ~/venvs/*; do
fi
done
rm -r ~/wxPython_Phoenix-*
rm -rf ~/wxPython_Phoenix-*