mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-29 10:24:11 +01:00
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:
parent
e175c777ce
commit
a95dff5479
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue