From a1ab42280d780fd24cf66754ed7a8b161beb83dc Mon Sep 17 00:00:00 2001 From: dbs Date: Wed, 3 Jun 2009 17:16:30 +0000 Subject: [PATCH] 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 --- Open-ILS/src/extras/autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.2