mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-12 21:10:21 +03: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
@ -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 New Issue
Block a user