aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'targets/stage1/stage1-chroot.sh')
-rwxr-xr-xtargets/stage1/stage1-chroot.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/targets/stage1/stage1-chroot.sh b/targets/stage1/stage1-chroot.sh
index 0c7e85be..01ef8d12 100755
--- a/targets/stage1/stage1-chroot.sh
+++ b/targets/stage1/stage1-chroot.sh
@@ -59,13 +59,14 @@ run_merge "--oneshot --nodeps sys-apps/baselayout"
sed -i "/USE=\"${USE} -build\"/d" ${clst_make_conf}
# Now, we install our packages
-[ -e ${clst_make_conf} ] &&
-echo "USE=\"-* build ${BOOTSTRAP_USE} ${clst_HOSTUSE}\"" >> ${clst_make_conf}
-for useexpand in ${clst_HOSTUSEEXPAND}; do
- x="clst_${useexpand}"
- echo "${useexpand}=\"${!x}\"" \
- >> ${clst_make_conf}
-done
+if [ -e ${clst_make_conf} ]; then
+ echo "USE=\"-* build ${BOOTSTRAP_USE} ${clst_HOSTUSE}\"" >> ${clst_make_conf}
+ for useexpand in ${clst_HOSTUSEEXPAND}; do
+ x="clst_${useexpand}"
+ echo "${useexpand}=\"${!x}\"" \
+ >> ${clst_make_conf}
+ done
+fi
run_merge "--oneshot ${clst_buildpkgs}"
sed -i "/USE=\"-* build ${BOOTSTRAP_USE} ${clst_HOSTUSE}\"/d" \