Add missing shift to make language for loop workable

Change-Id: I0787bf3020e6ccbee5f2ff11cd184e2c115c0239
This commit is contained in:
Christian Berendt 2014-08-05 09:48:14 +02:00
parent 2e55d768ba
commit 5f7c8356de
1 changed files with 3 additions and 2 deletions

View File

@ -75,6 +75,7 @@ function usage {
CONF_FILE=$1
shift
if [[ -z $CONF_FILE ]]; then
usage
@ -94,9 +95,9 @@ if [[ -z $(declare -p BOOKS 2> /dev/null | grep 'declare -A BOOKS') || \
exit 1
fi
case "$2" in
case "$1" in
test|publish)
PURPOSE=$2
PURPOSE=$1
shift
;;
*)