diff --git a/Tools/scripts/build_examples.sh b/Tools/scripts/build_examples.sh index 6703e67ed2..a218e3d4b2 100755 --- a/Tools/scripts/build_examples.sh +++ b/Tools/scripts/build_examples.sh @@ -6,7 +6,7 @@ set -e set -x -targets="clean navio" +targets="navio" [ $# -gt 0 ] && { targets="$*" @@ -16,6 +16,9 @@ export PATH=/usr/lib/ccache:$PATH TESTS=$(find libraries -name 'Makefile' | grep -v FLYMAPLE | xargs -i dirname '{}') +export BUILDROOT="/tmp/examples.build" +rm -rf $BUILDROOT + for b in $TESTS; do echo "TESTING $b" pushd $b