Commit 769c12a2 authored by Chris McDonough's avatar Chris McDonough

Change to work under ash.

parent f0d90d1e
#!/bin/sh
# Zope configure script
# $Id: configure,v 1.11 2003/06/21 13:46:38 chrism Exp $
# $Revision: 1.11 $
# $Id: configure,v 1.12 2003/06/24 20:22:39 chrism Exp $
# $Revision: 1.12 $
#####################################################################
# BEGIN EDITABLE PARAMETERS #
......@@ -76,7 +76,7 @@ get_python() {
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 @@ get_python() {
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment