From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Cc: Michael Riesch <michael.riesch@wolfvision.net>
Subject: [ptxdist] [PATCH v2 3/4] ptxd_make_world_inject: Escape inject path and files
Date: Mon, 6 May 2024 12:50:50 +0200 [thread overview]
Message-ID: <20240506105051.323546-4-ada@thorsis.com> (raw)
In-Reply-To: <20240506105051.323546-1-ada@thorsis.com>
Same as in ptxd_make_world_common for all the other variables set in
make and used in shell.
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
Notes:
v2:
- no change
v1:
- implicit
rules/post/ptxd_make_world_inject.make | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rules/post/ptxd_make_world_inject.make b/rules/post/ptxd_make_world_inject.make
index 3506ee114..eabcdd052 100644
--- a/rules/post/ptxd_make_world_inject.make
+++ b/rules/post/ptxd_make_world_inject.make
@@ -8,8 +8,8 @@
world/inject/env = \
$(call world/env, $(1)) \
- pkg_inject_path="$($(1)_INJECT_PATH)" \
- pkg_inject_files="$($(1)_INJECT_FILES)"
+ pkg_inject_path="$(call ptx/escape,$($(1)_INJECT_PATH))" \
+ pkg_inject_files="$(call ptx/escape,$($(1)_INJECT_FILES))"
world/inject = \
$(call world/inject/env,$(strip $(1))) \
--
2.39.2
next prev parent reply other threads:[~2024-05-06 10:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-06 10:50 [ptxdist] [PATCH v2 0/4] ptxd_make_world_inject: Spring cleanup and optional dest dir Alexander Dahl
2024-05-06 10:50 ` [ptxdist] [PATCH v2 1/4] ptxd_make_world_inject: Remove useless test Alexander Dahl
2024-05-12 13:16 ` [ptxdist] [APPLIED] " Michael Olbrich
2024-05-06 10:50 ` [ptxdist] [PATCH v2 2/4] ptxd_make_world_inject: Use <PKG>_DIR directly Alexander Dahl
2024-05-12 13:16 ` [ptxdist] [APPLIED] " Michael Olbrich
2024-05-06 10:50 ` Alexander Dahl [this message]
2024-05-12 13:16 ` [ptxdist] [APPLIED] ptxd_make_world_inject: Escape inject path and files Michael Olbrich
2024-05-06 10:50 ` [ptxdist] [PATCH v2 4/4] ptxd_make_world_inject: Introduce new variable <PKG>_INJECT_OOT Alexander Dahl
2024-05-12 13:16 ` [ptxdist] [APPLIED] " Michael Olbrich
2024-05-06 14:11 ` [ptxdist] [PATCH v2 0/4] ptxd_make_world_inject: Spring cleanup and optional dest dir Michael Riesch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240506105051.323546-4-ada@thorsis.com \
--to=ada@thorsis.com \
--cc=michael.riesch@wolfvision.net \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox