Skip to content

Commit ca6b3f7

Browse files
committed
fix problem with empty array in older bash versions
1 parent a54e5c8 commit ca6b3f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ if [ -d cert ]; then
111111
container_mount_opts+=(-v "$PWD/cert:/builder/cert:ro")
112112
fi
113113

114-
"$container_engine" run --rm "${container_run_opts[@]}" "${container_mount_opts[@]}" "$container_image" "${container_cmd[@]}" make --no-print-directory -C /builder "${make_opts[@]}" "$@"
114+
"$container_engine" run --rm "${container_run_opts[@]}" "${container_mount_opts[@]}" "$container_image" ${container_cmd[@]+"${container_cmd[@]}"} make --no-print-directory -C /builder "${make_opts[@]}" "$@"

0 commit comments

Comments
 (0)