aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2015-08-30 03:51:02 +0000
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2015-08-30 03:51:02 +0000
commitd0e1598f3af1adb5d3a8959740cef4dce66f75da (patch)
tree7f3c09ecd2301a203105ec75eff8671717208433
parentWe need to ensure bindist is set in USE when updating the seed (if we have OP... (diff)
downloadcatalyst-d0e1598f.tar.gz
catalyst-d0e1598f.tar.bz2
catalyst-d0e1598f.zip
Switch back to the if block for setting make.conf.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
-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" \