Fix stage counter.
This commit is contained in:
parent
abb67e5d70
commit
771f6dc8a0
|
@ -550,10 +550,10 @@ 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++
|
||||
|
||||
# rebuild @world
|
||||
|
@ -565,10 +565,10 @@ 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++
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue