[Zope-Checkins] CVS: Zope - configure:1.1.4.19
Fred L. Drake, Jr.
fred@zope.com
Thu, 6 Feb 2003 10:57:12 -0500
Update of /cvs-repository/Zope
In directory cvs.zope.org:/tmp/cvs-serv7130
Modified Files:
Tag: chrism-install-branch
configure
Log Message:
Be more defensive about quoting in a few places.
=== Zope/configure 1.1.4.18 => 1.1.4.19 ===
--- Zope/configure:1.1.4.18 Sun Jan 5 20:23:40 2003
+++ Zope/configure Thu Feb 6 10:57:11 2003
@@ -59,15 +59,15 @@
echo "Testing for an acceptable Python interpreter..."
echo
for DIR in $PATH; do
- IFS=$OLDIFS
+ IFS="$OLDIFS"
for EXECUTABLE in $EXENAMES; do
- FULL=$DIR/$EXECUTABLE
- if [ -x $FULL ]; then
+ FULL="$DIR/$EXECUTABLE"
+ if [ -x "$FULL" ]; then
CMD="import string,sys;print string.split(sys.version)[0]"
VERSION=`$FULL -c "$CMD"`
echo " Python version $VERSION found at $FULL"
if [ "$VERSION" = "$TARGET" ]; then
- FOUND=$FULL
+ FOUND="$FULL"
FOUNDVERSION=$VERSION
break 2
else
@@ -140,7 +140,7 @@
shift;
FOUND=`echo $OPT | sed -e 's/--with-python\=//'`
# use eval to do tilde expansion below
- eval "FOUND=$FOUND"
+ eval "FOUND='$FOUND'"
echo
echo "Using Python interpreter at $FOUND"
;;
@@ -149,7 +149,7 @@
;;
esac
done
-
+
echo
echo "Configuring Zope installation"
echo
@@ -158,6 +158,6 @@
get_python
fi
-PYTHON=$FOUND
+PYTHON="$FOUND"
# run the Python configurator
-$PYTHON $HERE/inst/configure.py $NEWOPTS
+"$PYTHON" "$HERE/inst/configure.py" $NEWOPTS