Skip to content

Commit 2ac78f7

Browse files
committed
build: Honour QUIET when cleaning
1 parent d40312e commit 2ac78f7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

build/scripts/clean.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@ IFS=@ read -r task subarch distro version <<< "$1"
1313

1414
output_dir=$(get_output_dir "$script_base" "$subarch" "$distro" "$version" "$task" "$DEFCONFIG" "$TARGETS" "$CLANG" "")
1515

16-
(set -x ; rm -rf "$output_dir")
16+
if [[ -n $QUIET ]]; then
17+
rm -rf "$output_dir"
18+
else
19+
(set -x ; rm -rf "$output_dir")
20+
fi

0 commit comments

Comments
 (0)