From a862b70c652fc724fa01de016e4b6e5fe32cfa7b Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 2 Dec 2016 14:12:00 -0800 Subject: [PATCH] =?UTF-8?q?Remove=20the=20source=20dir=20before=20starting?= =?UTF-8?q?=20in=20case=20the=20previous=20build=20failed=20and=20didn?= =?UTF-8?q?=E2=80=99t=20clean=20up.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vagrant/scripts/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vagrant/scripts/build.sh b/vagrant/scripts/build.sh index 09a02899..abe4dc2b 100755 --- a/vagrant/scripts/build.sh +++ b/vagrant/scripts/build.sh @@ -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-*