diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-06-27 22:15:15 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-06-28 18:20:54 +0300 |
commit | 16227491a7b1033590e534d6166f5b3bf54812d9 (patch) | |
tree | e1d46ddc5c182a213564379b757cddd62fcfd13a /buildlib.sh | |
parent | fbc0d465e9aae186b6e65aa195f6ab4bd08110b0 (diff) |
build: clean cache by default
Diffstat (limited to 'buildlib.sh')
-rw-r--r-- | buildlib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildlib.sh b/buildlib.sh index 7e31b6c3..4346877f 100644 --- a/buildlib.sh +++ b/buildlib.sh @@ -118,7 +118,7 @@ $CFG_STEP function prepare_dirs() { - [[ "$CLEAN" != "" ]] && rm -rf cache + [[ "$CLEAN" == "0" ]] || rm -rf cache rm -rf tmp mkdir -p tmp output cache } |