increase backtracking

This commit is contained in:
Tobias Klaus 2023-08-21 21:32:27 +02:00
parent 4050e93557
commit 58007ff648

View file

@ -14,6 +14,9 @@ CHROOTED=0
SYNC_COMMAND="emaint sync -a"
BACKTRACK_INTERACTIVE=30 # 10 is the default
BACKTRACK_BATCH=200
int_handler() {
exit 0
}
@ -98,6 +101,14 @@ while [[ $# -gt 0 ]]; do
esac
done
if [[ $INTERACTIVE == 1 ]] ; then
BACKTRACK="$BACKTRACK_INTERACTIVE"
else
BACKTRACK="$BACKTRACK_BATCH"
fi
PORTAGE_OPTIONS+=( "--backtrack=$BACKTRACK" )
if [[ $CHROOTED == 1 ]] ; then
SYNC_COMMAND=""
for repo in helpers meskal-overlay selba ; do