From f2481dbbe127a8334f2cfd9aa5f608399e15e980 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 12 May 2019 22:44:25 +0200 Subject: [PATCH] Update danio_gcc.sh --- danio_gcc.sh | 3 +++ 1 file changed, 3 insertions(+) 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