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

Chris McDonough chrism at plope.com
Tue Jul 27 20:44:14 EDT 2004


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

Modified Files:
      Tag: Zope-2_7-branch
	configure 
Log Message:
Dont detect directories named "python{2,2.3}" on $PATH as a valid interpreter.

Also, fix up to be the same formatting as HEAD version (no irrelevant differences).


=== Zope/configure 1.13.2.8 => 1.13.2.9 ===
--- Zope/configure:1.13.2.8	Fri May 28 12:49:10 2004
+++ Zope/configure	Tue Jul 27 20:44:14 2004
@@ -2,7 +2,6 @@
 
 # Zope configure script
 # $Id$
-# $Revision$
 
 #####################################################################
 #                    BEGIN EDITABLE PARAMETERS                      #
@@ -74,7 +73,7 @@
         IFS="$OLDIFS"
         for EXECUTABLE in $EXENAMES; do
             FULL="$DIR/$EXECUTABLE"
-            if [ -x "$FULL" ]; then
+            if [ -x "$FULL" -a ! -d "$FULL" ]; then
                 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"
@@ -149,13 +148,13 @@
         out "  manually by rerunning the ./configure script with the "
         out "  '--with-python' option."
     fi
-out ""
+    out ""
 }
 
 out() {
     
-   if [ -z "$QUIET" ]; then
-      echo $1
+    if [ -z "$QUIET" ]; then
+        echo $1
     fi
 }
 



More information about the Zope-Checkins mailing list