revert last commit; after further thought, I'm not sure we want to automatically proceed with a build without confirming first. Perhaps a new flag for bulk builds or something can be added in the future.

This commit is contained in:
chess.griffin 2013-12-09 03:20:59 +00:00
parent a6112368f7
commit 4d8610a95b

View File

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