Fixed bug parsing -N.
authorFredrik Tolf <fredrik@dolda2000.com>
Mon, 24 Mar 2008 21:55:42 +0000 (22:55 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Mon, 24 Mar 2008 21:55:42 +0000 (22:55 +0100)
dcp-update

index 06787d3..069d846 100755 (executable)
@@ -21,7 +21,6 @@ while [ "${1:0:1}" = - ]; do
     shift
     if [ "$opt" = N ]; then
        push=n
     shift
     if [ "$opt" = N ]; then
        push=n
-       shift
     elif [ "$opt" = h ]; then
        usage
        exit 0
     elif [ "$opt" = h ]; then
        usage
        exit 0