Same as in ptxd_make_world_common for all the other variables set in
make and used in shell.

Signed-off-by: Alexander Dahl <a...@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


Reply via email to