From 1c595a17d759fe4e517cf5c2f02d5627302330ea Mon Sep 17 00:00:00 2001 From: Sandro Kalatozishvili Date: Tue, 15 Aug 2023 01:40:17 +0400 Subject: [PATCH] Updated build script --- build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index d79e277..12f521f 100755 --- a/build.sh +++ b/build.sh @@ -183,8 +183,12 @@ for arg in "$@"; do install_library install_tools fi +done - if [[ $arg == "--cleanup" ]]; then +# Do cleanup last +for arg in "$@"; do + if [[ $arg == "--cleanup" || + $arg == "--clean" ]]; then clean_project fi done