incorporate patch from eric Pratt so sbopkg honors -q; fixes Issue 66

This commit is contained in:
chess.griffin 2013-12-09 02:23:42 +00:00
parent a798ef037b
commit a6112368f7

View File

@ -3906,22 +3906,24 @@ process_queue() {
echo echo
echo "Pre-check complete." echo "Pre-check complete."
echo echo
crunch_fmt "Do you wish to proceed based on the search \ if [[ ! $QUIET ]]; then
results above? Packages not found will be skipped during \ crunch_fmt "Do you wish to proceed based on the search \
the process." results above? Packages not found will be skipped during \
echo the process."
while :; do echo
read $NFLAG -ep "(P)roceed or (Q)uit?: " while :; do
case $REPLY in read $NFLAG -ep "(P)roceed or (Q)uit?: "
P|p) break ;; case $REPLY in
Q|q) P|p) break ;;
rm -f $PKGPATH/$CHKBUILD.{info,SlackBuild}.build Q|q)
rm -f $PKGPATH/options.build rm -f $PKGPATH/$CHKBUILD.{info,SlackBuild}.build
return 0 rm -f $PKGPATH/options.build
;; return 0
*) unknown_response ;; ;;
esac *) unknown_response ;;
done esac
done
fi
echo echo
fi fi
if [[ $KEEPLOG ]]; then if [[ $KEEPLOG ]]; then