Author: glen                         Date: Fri Jul 30 13:23:35 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- accept OK as YES

---- Files affected:
packages:
   ci (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/ci
diff -u packages/ci:1.3 packages/ci:1.4
--- packages/ci:1.3     Wed Apr  7 01:15:07 2010
+++ packages/ci Fri Jul 30 15:23:30 2010
@@ -47,10 +47,13 @@
 
 echo -n "Proceed ? "
 read ans
-
-if [ "$ans" != "y" ]; then
+case "$ans" in
+Y|y|O|o)
+       ;;
+*)
        exit
-fi
+       ;;
+esac
 
 sed '/^# AUTO: /d' -i "$SPEC"
 SIMPLE_DIFF="$(cvs -z9 diff "$SPEC")"
@@ -101,9 +104,13 @@
 echo "$msg"
 echo -n "Commit ? "
 read ans
-if [ "$ans" != "y" ]; then
+case "$ans" in
+Y|y|O|o)
+       ;;
+*)
        exit
-fi
+       ;;
+esac
 
 export COMMIT_MESSAGE="$msg"
 export COMMIT_PACKAGES="$SPECFILE"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ci?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to