diff options
Diffstat (limited to 'targets/stage1/stage1-chroot.sh')
-rwxr-xr-x | targets/stage1/stage1-chroot.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/targets/stage1/stage1-chroot.sh b/targets/stage1/stage1-chroot.sh index f79f360b..63aa5633 100755 --- a/targets/stage1/stage1-chroot.sh +++ b/targets/stage1/stage1-chroot.sh @@ -57,7 +57,7 @@ sed -i '/USE="${USE} -build"/d' /etc/portage/make.conf if [ -e /etc/portage/make.conf ]; then echo "USE=\"-* build ${BOOTSTRAP_USE} ${clst_HOSTUSE}\"" \ >> /etc/portage/make.conf - for useexpand in "${clst_HOSTUSEEXPAND}"; do + for useexpand in ${clst_HOSTUSEEXPAND}; do x="clst_${useexpand}" echo "${useexpand}=\"${!x}\"" \ >> /etc/portage/make.conf @@ -66,8 +66,8 @@ fi run_merge "--oneshot ${clst_buildpkgs}" sed -i "/USE=\"-* build ${BOOTSTRAP_USE} ${clst_HOSTUSE}\"/d" \ /etc/portage/make.conf -for useexpand in "${clst_HOSTUSEEXPAND}"; do +for useexpand in ${clst_HOSTUSEEXPAND}; do x="clst_${useexpand}" - sed -i "${useexpand}=\"${!x}\"" \ + sed -i "/${useexpand}=\"${!x}\"/d" \ /etc/portage/make.conf done |