commit:     656e4c20b3520ed243817425b92c5175391ffca7
Author:     Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo 
<DOT> org>
AuthorDate: Sun Aug 30 19:28:01 2015 +0000
Commit:     Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Sun Aug 30 19:28:01 2015 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=656e4c20

Add missing '"' and replace '' in strings so we get interpolation.

Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> 
gentoo.org>

 targets/stage1/stage1-chroot.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/targets/stage1/stage1-chroot.sh b/targets/stage1/stage1-chroot.sh
index ebd6551..2853f04 100755
--- a/targets/stage1/stage1-chroot.sh
+++ b/targets/stage1/stage1-chroot.sh
@@ -28,7 +28,7 @@ clst_root_path=/ setup_pkgmgr "build"
 if [ -n "${clst_update_seed}" ]; then
        if [ "${clst_update_seed}" == "yes" ]; then
                # Set USE flags build and bindist if clst_BINDIST is set
-               [ -e ${clst_make_conf} ] && echo "USE=\"${USE} build 
${BINDIST}" >> ${clst_make_conf}
+               [ -e ${clst_make_conf} ] && echo "USE=\"${USE} build 
${BINDIST}\"" >> ${clst_make_conf}
 
                echo "Updating seed stage..."
                if [ -n "${clst_update_seed_command}" ]; then
@@ -55,7 +55,7 @@ make_destpath /tmp/stage1root
 
 ## START BUILD
 # First, we drop in a known-good baselayout
-[ -e ${clst_make_conf} ] && echo 'USE="${USE} -build"' >> ${clst_make_conf}
+[ -e ${clst_make_conf} ] && echo "USE=\"${USE} -build\"" >> ${clst_make_conf}
 run_merge "--oneshot --nodeps sys-apps/baselayout"
 sed -i "/USE=\"${USE} -build\"/d" ${clst_make_conf}
 

Reply via email to