Commit 686a8ee7 authored by Juve, Gideon's avatar Juve, Gideon
Browse files

Add missing argument shift

parent 254610f6
......@@ -14,6 +14,7 @@ fi
while [ $# -ne 0 ]; do
case "$1" in
-stage)
shift
STAGE=$1
;;
*)
......
......@@ -6,7 +6,7 @@ function usage () {
echo "Usage: $0 [-continue] -stage N -stop STOP_OPTION -n STOP_N -run RUN"
}
if [ "$#" == "0" ]; then
if [ $# -eq 0 ]; then
usage
exit 1
fi
......@@ -18,6 +18,7 @@ while [ "$#" -ne 0 ]; do
CONTINUE_RUN=TRUE
;;
-stage)
shift
STAGE=$1
;;
-stop)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment