cleanups; full parenthesis for case ... esac statements
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 15 Mar 2004 21:39:02 +0000 (21:39 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 15 Mar 2004 21:39:02 +0000 (21:39 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1252 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vserver-build.apt-rpm

index 230c801..6f54552 100644 (file)
@@ -24,10 +24,10 @@ eval set -- "$tmp"
 
 while true; do
     case "$1" in
-       -d)             DISTRIBUTION=$2; shift;;
-       --debug)        set -x;;
-       --)             shift; break ;;
-       *)              echo "vserver-build.apt-rpm: internal error: unrecognized option '$1'" >&2
+       (-d)            DISTRIBUTION=$2; shift;;
+       (--debug)       set -x;;
+       (--)            shift; break ;;
+       (*)             echo "vserver-build.apt-rpm: internal error: unrecognized option '$1'" >&2
                        exit 1
                        ;;
     esac