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 <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-07-10 08:49:57 +00:00
parent dbfa2c38b3
commit b1cf1d9cfb

View File

@@ -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}"