mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-10 03:50:33 +03:00
Fix view_queue selection with overlapping names.
Fix view_queue selection with packages whose name is the initial part of another package name (e.g. "libbonobo" and "libbonoboui"). Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
This commit is contained in:
parent
97ae2a37a6
commit
f2c618b8e9
@ -1348,7 +1348,7 @@ view_queue () {
|
||||
rm -f $WORKINGQUEUE
|
||||
cat $TMPQUEUE | while read PICK; do
|
||||
TESTAPP=$(echo $PICK | cut -f1 -d " ")
|
||||
if $(cat $TMP/sbopkg-ans-queue | grep -q "^$TESTAPP"); then
|
||||
if $(cat $TMP/sbopkg-ans-queue | grep -q "^$TESTAPP\$"); then
|
||||
echo $PICK | sed -e 's/OFF/ON/' >> $WORKINGQUEUE
|
||||
else
|
||||
echo $PICK | sed -e 's/ON/OFF/' >> $WORKINGQUEUE
|
||||
|
Loading…
Reference in New Issue
Block a user