From: dbs Date: Wed, 3 Jun 2009 17:16:30 +0000 (+0000) Subject: Bah, don't shift the args inside the loop! X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a1ab42280d780fd24cf66754ed7a8b161beb83dc;p=Evergreen.git Bah, don't shift the args inside the loop! Thanks to berick for reporting the problem git-svn-id: svn://svn.open-ils.org/ILS/trunk@13307 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/extras/autogen.sh b/Open-ILS/src/extras/autogen.sh index 9e0728b150..3dbac70af8 100755 --- a/Open-ILS/src/extras/autogen.sh +++ b/Open-ILS/src/extras/autogen.sh @@ -67,8 +67,8 @@ while getopts "c:u h" flag; do "u") PROXIMITY="REFRESH";; "h") usage && exit;; esac; - shift $((OPTIND - 1)) done +shift $((OPTIND - 1)) if [ -z "$CONFIG" ] && [[ ! -z "${1:-}" ]]; then # Support "autogen.sh /path/to/opensrf_core.xml" for legacy invocation