[27109] in Source-Commits
/svn/athena r25952 - trunk/debathena/scripts
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Thu Apr 25 11:42:08 2013
Date: Thu, 25 Apr 2013 11:42:01 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201304251542.r3PFg1GI013941@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: jdreed
Date: 2013-04-25 11:42:01 -0400 (Thu, 25 Apr 2013)
New Revision: 25952
Modified:
trunk/debathena/scripts/daupload
Log:
Add a warning for daupload-release
Modified: trunk/debathena/scripts/daupload
===================================================================
--- trunk/debathena/scripts/daupload 2013-04-25 15:39:29 UTC (rev 25951)
+++ trunk/debathena/scripts/daupload 2013-04-25 15:42:01 UTC (rev 25952)
@@ -22,7 +22,7 @@
if [ -n "$DEBIAN_CODES_OVERRIDE" ]; then
echo "Will override DEBIAN_CODES with: $DEBIAN_CODES_OVERRIDE"
- echo -n "Continue? [y/N]"
+ echo -n "Continue? [y/N] "
read a
[ "$a" = "y" ]
DEBIAN_CODES="$DEBIAN_CODES_OVERRIDE"
@@ -30,6 +30,10 @@
case "$(basename "$0")" in
daupload-release)
+ echo "You're uploading to PRODUCTION. This may not be a good idea." >&2
+ echo -n "Continue? [y/N]"
+ read a
+ [ "$a" = "y" ]
release=""
;;
daupload-proposed)