summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2020-01-10 15:21:39 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-01-23 17:08:35 +0100
commit77cda0146235c78bba82d69fa7f67dc35e64de78 (patch)
tree503eab056c8e9df694d60cff8df89e1f87f14572 /scripts
parent60e903591cf04c2f54b8e7bd976ec81ef4524f82 (diff)
downloadptxdist-77cda0146235c78bba82d69fa7f67dc35e64de78.tar.gz
ptxdist-77cda0146235c78bba82d69fa7f67dc35e64de78.tar.xz
ptxd_get_ipkg_files: resolve globs when calling ptxd_get_path()
This is necessary to change ptxd_get_path() to allow filenames with '\'. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/ptxd_make_image_common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_image_common.sh b/scripts/lib/ptxd_make_image_common.sh
index f6b641d3c..de710aa3c 100644
--- a/scripts/lib/ptxd_make_image_common.sh
+++ b/scripts/lib/ptxd_make_image_common.sh
@@ -33,7 +33,7 @@ ptxd_get_ipkg_files() {
ipkg_files="${image_ipkg_repo_dirs[@]/%//${1}_*.ipk}"
# take first hit
- if ptxd_get_path "${ipkg_files[@]}"; then
+ if ptxd_get_path ${ipkg_files[*]}; then
ptxd_reply_ipkg_files[${#ptxd_reply_ipkg_files[@]}]="${ptxd_reply}"
if [ -z "$(ptxd_get_ptxconf PTXCONF_IMAGE_INSTALL_FROM_IPKG_REPOSITORY)" ]; then
ptxd_reply_perm_files[${#ptxd_reply_perm_files[@]}]="${ptxd_reply%/*/*}/state/${1}.perms"