[Zope-Checkins] SVN: Zope/trunk/configure Don't treat directories
named "python" on the path as interpreters.
Chris McDonough
chrism at plope.com
Thu Jul 29 10:20:49 EDT 2004
Log message for revision 26830:
Don't treat directories named "python" on the path as interpreters.
Changed:
U Zope/trunk/configure
-=-
Modified: Zope/trunk/configure
===================================================================
--- Zope/trunk/configure 2004-07-29 14:18:16 UTC (rev 26829)
+++ Zope/trunk/configure 2004-07-29 14:20:49 UTC (rev 26830)
@@ -2,7 +2,6 @@
# Zope configure script
# $Id$
-# $Rev$
#####################################################################
# 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"
More information about the Zope-Checkins
mailing list