[open-ils-commits] r13307 - trunk/Open-ILS/src/extras (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Jun 3 13:16:33 EDT 2009


Author: dbs
Date: 2009-06-03 13:16:30 -0400 (Wed, 03 Jun 2009)
New Revision: 13307

Modified:
   trunk/Open-ILS/src/extras/autogen.sh
Log:
Bah, don't shift the args inside the loop!
Thanks to berick for reporting the problem


Modified: trunk/Open-ILS/src/extras/autogen.sh
===================================================================
--- trunk/Open-ILS/src/extras/autogen.sh	2009-06-03 16:05:49 UTC (rev 13306)
+++ trunk/Open-ILS/src/extras/autogen.sh	2009-06-03 17:16:30 UTC (rev 13307)
@@ -67,8 +67,8 @@
 		"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



More information about the open-ils-commits mailing list