diff options
-rwxr-xr-x | clean.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clean.sh b/clean.sh index 76b8b67..0c62cd2 100755 --- a/clean.sh +++ b/clean.sh @@ -1,14 +1,13 @@ -#!/bin/sh -set -e +#!/bin/sh -eu # Check if another config is being used. +set +u if [ -z $TUP_CONFIG ]; then . ./tup.config else . ./$TUP_CONFIG fi - set -u echo "Cleaning Project..." @@ -18,5 +17,6 @@ rm -rf app/ rm -rf build-dir rm -rf flatpak_repo rm -rf .flatpak-builder/ +rm -rf -- *.txz set +x echo "Done." |