mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-20 07:53:01 +02:00
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:
6
make.sh
6
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}"
|
||||
|
||||
Reference in New Issue
Block a user