[Zope-CVS] SVN: zpkgtools/trunk/zpkgtools/appsupport/configure.in
be more careful not to recognize a directory with a
fortuitous name as a
Fred L. Drake, Jr.
fdrake at gmail.com
Fri Jul 30 14:25:41 EDT 2004
Log message for revision 26856:
be more careful not to recognize a directory with a fortuitous name as a
Python interpreter (based on changes ChrisM made for Zope 2)
Changed:
U zpkgtools/trunk/zpkgtools/appsupport/configure.in
-=-
Modified: zpkgtools/trunk/zpkgtools/appsupport/configure.in
===================================================================
--- zpkgtools/trunk/zpkgtools/appsupport/configure.in 2004-07-30 18:10:37 UTC (rev 26855)
+++ zpkgtools/trunk/zpkgtools/appsupport/configure.in 2004-07-30 18:25:41 UTC (rev 26856)
@@ -75,7 +75,7 @@
IFS="$OLDIFS"
for EXECUTABLE in $EXENAMES; do
FULL="$DIR/$EXECUTABLE"
- if [ -x "$FULL" ]; then
+ if [ -x "$FULL" -a -f "$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-CVS
mailing list