From 380442cb29d6d05f64d454ebe7d72304f83d6012 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 10 Jul 2024 08:49:57 +0000 Subject: [PATCH] make.sh: Join compression arguments as a string Otherwise, the array gets split and tar cannot identify which option belongs to where. Signed-off-by: Michael Tremer --- make.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/make.sh b/make.sh index 541fadfe9..2d9b0a674 100755 --- a/make.sh +++ b/make.sh @@ -586,8 +586,8 @@ execute() { [DEFAULT_PARALLELISM]="${DEFAULT_PARALLELISM}" # Compression Options - [XZ_OPT]="${XZ_OPT[@]}" - [ZSTD_OPT]="${ZSTD_OPT[@]}" + [XZ_OPT]="${XZ_OPT[*]}" + [ZSTD_OPT]="${ZSTD_OPT[*]}" # Build Architecture [BUILD_ARCH]="${BUILD_ARCH}" @@ -1211,7 +1211,7 @@ compress_toolchain() { "--create" # Filter through zstd with custom options - "-I" "zstd ${ZSTD_OPT[@]}" + "-I" "zstd ${ZSTD_OPT[*]}" # Write to the temporary directory "-f" "${tmp}/${toolchain}" -- 2.39.5