]> git.wh0rd.org Git - home.git/commitdiff
fix FEATURES setup
authorMike Frysinger <vapier@gentoo.org>
Mon, 12 Mar 2012 16:15:27 +0000 (12:15 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 19:36:44 +0000 (15:36 -0400)
.bin/cros-setup-chroot

index ec9d58264cc8d82b0aaf0807b7087744509dd8e7..4950f8f228b86756beeb5a7257e39048c1391425 100755 (executable)
@@ -14,9 +14,9 @@ sudo mkdir -p ${chr}/etc/profile.d ${chr}/etc/portage/package.{mask,unmask,use,k
 cat ~/.profile.d/PS1.sh
 sed -e '1{/PS1=/d}' ${chr}/etc/profile.d/chromiumos-niceties.sh
 ) > ${chome}/.ps1.sh
-sudo sh -c "echo export LANG=en_US.UTF8 > ${chr}/etc/profile.d/LANG.sh"
-sudo sh -c "echo FEATURES=noauto > ${chr}/etc/make.conf.user"
-sudo sh -c "echo -g > ${chr}/etc/ps1_append"
+sudo sh -c 'echo export LANG=en_US.UTF8 > '"${chr}/etc/profile.d/LANG.sh"
+sudo sh -c 'echo FEATURES=\"\$FEATURES noauto\" > '"${chr}/etc/make.conf.user"
+sudo sh -c 'echo -g > '"${chr}/etc/ps1_append"
 sudo mv ${chome}/.ps1.sh ${chr}/etc/profile.d/chromiumos-niceties.sh
 for f in .nanorc .gdbinit .gitconfig ; do
        sudo ln -f ${chome}/$f ${chr}/root/