diff --git a/danio_gcc.sh b/danio_gcc.sh index 1b7efc8..2ae4480 100755 --- a/danio_gcc.sh +++ b/danio_gcc.sh @@ -104,7 +104,9 @@ test_gcc() fi } - +if [ -n "${clean}" ]; then + rm -rf build-* +fi if ! download; then echo "STAGE=${TARGET} MSG='at \"download_n_extract\" section'" >.error exit 1