[Zope-CVS] CVS: Zope - configure:1.1.4.7

Chris McDonough chrism@zope.com
Tue, 10 Sep 2002 23:19:10 -0400


Update of /cvs-repository/Zope
In directory cvs.zope.org:/tmp/cvs-serv20370

Modified Files:
      Tag: chrism-install-branch
	configure 
Log Message:
Fix "shift" bug in configure which caused the wrong options to be popped.


=== Zope/configure 1.1.4.6 => 1.1.4.7 ===
--- Zope/configure:1.1.4.6	Tue Sep 10 17:56:16 2002
+++ Zope/configure	Tue Sep 10 23:19:09 2002
@@ -76,6 +76,8 @@
 echo
 }
 
+NEWOPTS=""
+
 for OPT in $@; do
     case "$OPT" in
     --h* | -h*)
@@ -93,6 +95,10 @@
         fi
         echo
         echo "Using Python interpreter at $FOUND"
+        ;;
+    *)
+        NEWOPTS="$NEWOPTS $OPT"
+        ;;
     esac
 done
         	
@@ -106,4 +112,4 @@
 
 PYTHON=$FOUND
 # run the Python configurator
-$PYTHON $HERE/inst/configure.py $@
+$PYTHON $HERE/inst/configure.py $NEWOPTS