Browse Source

Add missing shift to make language for loop workable

Change-Id: I0787bf3020e6ccbee5f2ff11cd184e2c115c0239
changes/47/111947/1
Christian Berendt 7 years ago
parent
commit
5f7c8356de
  1. 5
      bin/doc-tools-check-languages

5
bin/doc-tools-check-languages

@ -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
;;
*)

Loading…
Cancel
Save