From: Michael Tremer Date: Wed, 10 Jul 2024 08:49:57 +0000 (+0000) Subject: make.sh: Join compression arguments as a string X-Git-Tag: v2.29-core188~10^2~265 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b1cf1d9cfb742ae27225f411d5d14167b48fa398;p=ipfire-2.x.git 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 --- diff --git a/make.sh b/make.sh index 541fadfe94..2d9b0a6742 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}"