Delete $OUT_OF_SOURCE_DIR under --force even without Yotta
The deletion of "$OUT_OF_SOURCE_DIR" had mistakenly been lumped
together with Yotta.
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index b8a7da5..1ae6a3d 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -366,8 +366,9 @@
pre_check_git () {
if [ $FORCE -eq 1 ]; then
+ rm -rf "$OUT_OF_SOURCE_DIR"
if [ $YOTTA -eq 1 ]; then
- rm -rf yotta/module "$OUT_OF_SOURCE_DIR"
+ rm -rf yotta/module
fi
git checkout-index -f -q $CONFIG_H
cleanup