fix issue where queue would proceed even if all packages removed from queue; thanks to Mauro Giachero for the bug report.

This commit is contained in:
chess.griffin 2008-12-29 20:18:11 +00:00
parent e175c777ce
commit a95dff5479

View File

@ -770,10 +770,11 @@ those packages you wish to keep in the build queue and then press \
rm -rf $TMP/sbopkg-ans-queue
continue
else
rm -rf $WORKINGQUEUE
if [ ! -s $TMP/sbopkg-ans-queue ]; then
rm -rf $TMP/sbopkg-tmp-queue
rm -rf $TMP/sbopkg-*-queue
continue
else
rm -rf $WORKINGQUEUE
for PICK in $(cat $TMP/sbopkg-ans-queue); do
echo $(egrep -m1 "^$PICK " $TMPQUEUE) >> \
$WORKINGQUEUE