sqg: remove all queues when using -a.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
This commit is contained in:
Willy Sudiarto Raharjo 2021-12-28 11:45:46 +07:00
parent d60a39c054
commit d0cb031a22
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -216,6 +216,7 @@ execute_build () {
local PKG INFOPATH local PKG INFOPATH
if [ "$ALL" == "yes" ]; then if [ "$ALL" == "yes" ]; then
rm -f $QUEUEDIR/*.sqf
printf "Processing all SlackBuilds in the $REPO_SUBPATH repository..." printf "Processing all SlackBuilds in the $REPO_SUBPATH repository..."
PKGSNEW=($(find "$REPO_DIR" -name "*.info" -print0 | xargs -r0)) PKGSNEW=($(find "$REPO_DIR" -name "*.info" -print0 | xargs -r0))
else else
@ -257,4 +258,4 @@ check_validity() {
else else
return 1 return 1
fi fi
} }