diff options
| author | 2025-03-20 18:48:12 -0400 | |
|---|---|---|
| committer | 2025-03-20 18:48:12 -0400 | |
| commit | 6c39b23364606d4d8d8561061b7e5f85831a01e4 (patch) | |
| tree | 5245644a04d22804965bfe66fa1c6c2c044b51fb /kiwi-build | |
| parent | d7316ab54385a248ed453ab2b6067d81becc7ce4 (diff) | |
| download | kiwi-descriptions-6c39b23364606d4d8d8561061b7e5f85831a01e4.tar.gz kiwi-descriptions-6c39b23364606d4d8d8561061b7e5f85831a01e4.zip | |
kiwi-build: Fix handling of kiwibuild_extra_args when undefined
When the kiwibuild_extra_args variable is not defined, we do not
want it to fail with "unbound variable" error.
Fixes: efc71e6d8629f0e3b5bd2541650266d632a2fe68
Diffstat (limited to 'kiwi-build')
| -rwxr-xr-x | kiwi-build | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -78,9 +78,9 @@ fi set +e if [ ! ${kiwi_isolated} ]; then -kiwi-ng ${debug} --type="${image_type}" --profile="${image_profile}" --kiwi-file="${kiwi_file}" --color-output system build --description "${kiwi_description_dir}" --target-dir "${output_dir}-build" ${kiwibuild_extra_args} +kiwi-ng ${debug} --type="${image_type}" --profile="${image_profile}" --kiwi-file="${kiwi_file}" --color-output system build --description "${kiwi_description_dir}" --target-dir "${output_dir}-build" ${kiwibuild_extra_args:+${kiwibuild_extra_args}} else -kiwi-ng ${debug} --type="${image_type}" --profile="${image_profile}" --kiwi-file="${kiwi_file}" --color-output system boxbuild --box universal --sshfs-sharing -- --description "${kiwi_description_dir}" --target-dir "${output_dir}-build" ${kiwibuild_extra_args} +kiwi-ng ${debug} --type="${image_type}" --profile="${image_profile}" --kiwi-file="${kiwi_file}" --color-output system boxbuild --box universal --sshfs-sharing -- --description "${kiwi_description_dir}" --target-dir "${output_dir}-build" ${kiwibuild_extra_args:+${kiwibuild_extra_args}} fi kiwi_status=$? set -e |