diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-07-30 09:57:40 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-07-30 10:03:21 +0200 |
commit | 6db8cb3219ed98638cf83bf3aeeaa569e71eea6e (patch) | |
tree | 40332f465787e81d5378527d85f28ff8b29c7e5f /scripts/lib/ptxd_make_image_common.sh | |
parent | 7a42924cf29b14108580e5789b9d943ed7f7f90a (diff) | |
download | ptxdist-6db8cb3219ed98638cf83bf3aeeaa569e71eea6e.tar.gz ptxdist-6db8cb3219ed98638cf83bf3aeeaa569e71eea6e.tar.xz |
ptxd_make_image_archive: fix quoting and white-space handling
Without this the quotation marks are part of the label and labels with
white-spaces are broken.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_image_common.sh')
-rw-r--r-- | scripts/lib/ptxd_make_image_common.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/ptxd_make_image_common.sh b/scripts/lib/ptxd_make_image_common.sh index a92544615..d3f591675 100644 --- a/scripts/lib/ptxd_make_image_common.sh +++ b/scripts/lib/ptxd_make_image_common.sh @@ -67,9 +67,9 @@ ptxd_make_image_init() { fi if [ -n "${image_label}" ]; then - image_label_args="--label \"${image_label}\"" + image_label_args=( --label "${image_label}" ) else - image_label_args="" + image_label_args=() fi exec 2>&${PTXDIST_FD_LOGERR} |