summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-02 05:37:30 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-02 05:37:30 +0200
commit18789b5f0b1eb648ea8e8498bc7d0350f9f946c7 (patch)
tree35952918bcf1089996cf467fe8df3a1f353cef59 /scripts
parentcc7064a974ebb309c6947ddadcd23b7f9b1d9ba8 (diff)
downloadgentoo-18789b5f0b1eb648ea8e8498bc7d0350f9f946c7.tar.gz
gentoo-18789b5f0b1eb648ea8e8498bc7d0350f9f946c7.tar.bz2
gentoo-18789b5f0b1eb648ea8e8498bc7d0350f9f946c7.tar.xz
gentoo-18789b5f0b1eb648ea8e8498bc7d0350f9f946c7.zip
Don't fail on failure, but run forever to allow debugging
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bootstrap/builder.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/bootstrap/builder.sh b/scripts/bootstrap/builder.sh
index 398ef34..89ff9d0 100644
--- a/scripts/bootstrap/builder.sh
+++ b/scripts/bootstrap/builder.sh
@@ -1,3 +1,11 @@
#! /bin/bash
emerge --usepkg --buildpkg --keep-going --update --deep --with-bdeps=y --newuse @world
+status=$?
+
+if [ $status -ne 0 ]; then
+ while [ 1 ]; do
+ echo "Emerge crashed with error code: $status"
+ sleep 21600
+ done
+fi