when using -b or -i from cli, check if .sqf extension is used and if so, go directly to parse_queue

This commit is contained in:
chess.griffin 2009-06-10 03:14:41 +00:00
parent 3d4cbed411
commit acc41bec1c

View File

@ -3924,6 +3924,10 @@ else
> $SBOPKGTMP/sbopkg-start-queue
> $SBOPKGTMP/sbopkg_user_queue.lck
for PKGBUILD in $BUILD; do
if [[ ${PKGBUILD:(-4)} == ".sqf" ]]; then
parse_queue $QUEUEDIR/$PKGBUILD
continue
fi
if [[ -r $QUEUEDIR/$PKGBUILD.sqf ]] &&
search_package $PKGBUILD; then
crunch_fmt "Both a queuefile and a package were found with \