From 2953f358edbfa6d339776f3c0d8794920869c675 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 29 Aug 2017 05:42:46 +0300 Subject: Fix parameter escaping in generated env files. --- scripts/include/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/include/common.sh b/scripts/include/common.sh index 382f8a5..4fcb426 100644 --- a/scripts/include/common.sh +++ b/scripts/include/common.sh @@ -311,7 +311,7 @@ function common_use_package { echo "" >>"${envfile}" package_use check_error $? - echo "\$*" >>"${envfile}" + echo "\"\$@\"" >>"${envfile}" check_error $? chmod 0755 "${envfile}" check_error $? @@ -348,7 +348,7 @@ function common_use_packages { check_error $? done unset IFS - echo "\$*" >>"${envfile}" + echo "\"\$@\"" >>"${envfile}" check_error $? chmod 0755 "${envfile}" check_error $? -- cgit v1.2.3-60-g2f50