More EXTRAVERBOSE tweaks
authorSteve McIntyre <steve@einval.com>
Sun, 26 Oct 2014 20:11:58 +0000 (20:11 +0000)
committerSteve McIntyre <steve@einval.com>
Sun, 26 Oct 2014 20:11:58 +0000 (20:11 +0000)
abcde

diff --git a/abcde b/abcde
index f66177b..dc53072 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -3450,11 +3450,12 @@ fi
 # We used to use EXTRAVERBOSE=y to turn on more debug output. Now
 # that's changed to a number to allow for more control. Deal with
 # EXTRAVERBOSE=y/n, set it to 1/0 for backwards compatibility.
-case "$EXTRAVERBOSE"x in
-       "*y*"x|"*Y*"x)
+echo "Looking at EXTRAVERBOSE ($EXTRAVERBOSE)"
+case "$EXTRAVERBOSE" in
+       *y*|*Y*)
                EXTRAVERBOSE=1
                ;;
-       "*n*"x|"*N*")
+       *n*|*N*)
                EXTRAVERBOSE=0
                ;;
 esac