Fix stage counter.

This commit is contained in:
Kolan Sh 2021-03-11 18:09:18 +03:00
parent abb67e5d70
commit 771f6dc8a0
1 changed files with 4 additions and 4 deletions

View File

@ -550,9 +550,9 @@ if [ $STAGE_CNT -eq $STAGE ]; then
[ 0 -ne $? ] && echo "Stage $STAGE: @system rebuild failed ;-( =======" && exit $STAGE
rm /etc/portage/need_system_rebuild
[ 0 -ne $? ] && echo "Stage $STAGE: cann't remove /etc/portage/need_system_rebuild ;-( =======" && exit $STAGE
fi
let STAGE++
fi
fi
let STAGE_CNT++
@ -565,9 +565,9 @@ if [ $STAGE_CNT -eq $STAGE ]; then
[ 0 -ne $? ] && echo "Stage $STAGE: @world rebuild failed ;-( =======" && exit $STAGE
rm /etc/portage/need_world_rebuild
[ 0 -ne $? ] && echo "Stage $STAGE: cann't remove /etc/portage/need_world_rebuild ;-( =======" && exit $STAGE
fi
let STAGE++
fi
fi
let STAGE_CNT++