diff --git a/danio_gcc.sh b/danio_gcc.sh index 1b7efc8..2f92e80 100755 --- a/danio_gcc.sh +++ b/danio_gcc.sh @@ -121,3 +121,6 @@ if ! strip_n_pack ${2}; then echo "STAGE=${TARGET} MSG='at \"strip_n_pack ${2}\" section'" >.error exit 1 fi +if [ ! -z "${clean}" ]; then + rm -rf build-* +fi