Otherwise, the array gets split and tar cannot identify which option
belongs to where.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
[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}"
"--create"
# Filter through zstd with custom options
- "-I" "zstd ${ZSTD_OPT[@]}"
+ "-I" "zstd ${ZSTD_OPT[*]}"
# Write to the temporary directory
"-f" "${tmp}/${toolchain}"