Skip to content

Commit 8a3bc72

Browse files
committed
Do not use += to append to an array
This does not work with old versions of bash (that we unfortunately still have to support).
1 parent 9cab424 commit 8a3bc72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init_buildsystem

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ preinstall_image() {
289289

290290
if [ -f "/run/.containerenv" ]; then
291291
# we're running in a podman container and we probably don't have sufficient capabilities to create special files
292-
TAR_EXCLUDES+=("dev/*" "proc/*" "run/*" "sys/*")
292+
TAR_EXCLUDES=("${TAR_EXCLUDES[@]}" "dev/*" "proc/*" "run/*" "sys/*")
293293
fi
294294

295295
if test -x /usr/bin/bsdtar ; then

0 commit comments

Comments
 (0)