summaryrefslogtreecommitdiffstats
path: root/scripts/bootstrap/builder.sh
blob: 89ff9d0c9ee84035bf48c4a2967eee863b358ca8 (plain)
1
2
3
4
5
6
7
8
9
10
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