summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-07-02 16:55:31 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-07-02 16:55:31 (EDT)
commite9534658c36b32bea9c0c26951039dc270ba04e7 (patch)
treec513708817f814927c7275b9adb3034e17754577
parentb33b7dd3cbebab14b7a70cd60e887ca2cd8c1966 (diff)
bootstrap-prepare.sh: Ensure work area is clean.
-rwxr-xr-xbootstrap-prepare.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap-prepare.sh b/bootstrap-prepare.sh
index 7b42726..c98ca95 100755
--- a/bootstrap-prepare.sh
+++ b/bootstrap-prepare.sh
@@ -81,8 +81,10 @@ prepare_packages_from_git()
rm -f local.mk
if [ -f source.mk -a ! -f "${repo##*/}"*.orig.tar* ]; then
opkbuild -bCT source
+ rm -Rf tmp
fi
opkbuild -SC
+ rm -Rf tmp
cd ..
done