From e5cc9bd730226f4638b6fd528b54373e72638043 Mon Sep 17 00:00:00 2001 From: memdmp Date: Sat, 14 Jun 2025 04:43:56 +0200 Subject: scripting: only if filter is blank should we fully remove target --- build-repo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build-repo') diff --git a/build-repo b/build-repo index 9863ab8..6c92b55 100755 --- a/build-repo +++ b/build-repo @@ -2,7 +2,7 @@ set -eax # note: we assume `abuild-keygen -a -i` has alr been run ALL_TARGET="$PWD/target" -rm -rf "$ALL_TARGET" +if [[ "$FILTER" == "" ]]; then rm -rf "$ALL_TARGET"; fi mkdir -p "$ALL_TARGET" export APORTSDIR="$PWD/src" for REPOPATH in ./src/*; do -- cgit v1.2.3