Fixed bug parsing -N.
[dcp.git] / dcp-update
index 6b47b04..069d846 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 set -e
 
@@ -21,7 +21,6 @@ while [ "${1:0:1}" = - ]; do
     shift
     if [ "$opt" = N ]; then
        push=n
-       shift
     elif [ "$opt" = h ]; then
        usage
        exit 0