Author: adsb
Date: 2008-11-05 18:54:21 +0000 (Wed, 05 Nov 2008)
New Revision: 1704
Modified:
trunk/debian/changelog
trunk/scripts/nmudiff.sh
Log:
nmudiff: Require an explicit confirmation as to whether the generated
mail should be sent, rather than defauling to not sending it.
(Closes: #483657)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-11-04 21:09:27 UTC (rev 1703)
+++ trunk/debian/changelog 2008-11-05 18:54:21 UTC (rev 1704)
@@ -47,6 +47,9 @@
easily retrieved. Based on a patch by Jörg Sommer.
* licensecheck: Match a couple more variants on the wording of a
3-clause BSD license. (Closes: #503378)
+ * nmudiff: Require an explicit confirmation as to whether the generated
+ mail should be sent, rather than defauling to not sending it.
+ (Closes: #483657)
* tagpending: Don't output a spurious empty line near the end of the
changelog comments under some circumstances.
* uscan:
Modified: trunk/scripts/nmudiff.sh
===================================================================
--- trunk/scripts/nmudiff.sh 2008-11-04 21:09:27 UTC (rev 1703)
+++ trunk/scripts/nmudiff.sh 2008-11-05 18:54:21 UTC (rev 1704)
@@ -333,15 +333,17 @@
exit 1
fi
- echo -n "Do you want to go ahead and submit the bug report now? (y/n) "
- read response
- case "$response" in
- y*) ;;
- *) echo "OK, then, aborting." >&2
- rm -f ../${SOURCE}-${VERSION_NO_EPOCH}-nmu.diff "$TMPNAM"
- exit 1
- ;;
- esac
+ while : ; do
+ echo -n "Do you want to go ahead and submit the bug report now? (y/n) "
+ read response
+ case "$response" in
+ y*) break;;
+ n*) echo "OK, then, aborting." >&2
+ rm -f ../${SOURCE}-${VERSION_NO_EPOCH}-nmu.diff "$TMPNAM"
+ exit 1
+ ;;
+ esac
+ done
case "$BTS_SENDMAIL_COMMAND" in
/usr/sbin/sendmail*|/usr/sbin/exim*)
--
To unsubscribe, send mail to [EMAIL PROTECTED]