[Zope-Checkins] CVS: Zope - configure:1.12

Chris McDonough chrism@zope.com
Tue, 24 Jun 2003 16:22:40 -0400


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

Modified Files:
	configure 
Log Message:
Change to work under ash.


=== Zope/configure 1.11 => 1.12 ===
--- Zope/configure:1.11	Sat Jun 21 09:46:38 2003
+++ Zope/configure	Tue Jun 24 16:22:39 2003
@@ -76,7 +76,7 @@
                 CMD="import string,sys;a=string.split(sys.version)[0]"
 		# Strip trailing + from version number
 		CMD="$CMD;a=(a[-1]=='+')and(a[:-1])or(a);print a"
-                VERSION=`$FULL -c "$CMD"`
+                VERSION=`"$FULL" -c "$CMD"`
                 out "  Python version $VERSION found at $FULL"
                 if [ "$VERSION" = "$TARGET" ]; then
                     FOUND="$FULL"
@@ -85,9 +85,9 @@
                 else
                     i=1;
                     for ACC in $ACCEPTABLE; do
-                        i=$(($i+1))
+                        i=`expr $i + 1`
 			for SLOT in $FOUNDLIST; do
-                            if [ $SLOT == $i ]; then
+                            if [ $SLOT -eq $i ]; then
                                 # slot "i" already populated.  This means we've
                                 # already found this particular version of
                                 # python.  Continue the for ACC in