Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
769c12a2
Commit
769c12a2
authored
Jun 24, 2003
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change to work under ash.
parent
f0d90d1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
configure
configure
+5
-5
No files found.
configure
View file @
769c12a2
#!/bin/sh
# Zope configure script
# $Id: configure,v 1.1
1 2003/06/21 13:46:38
chrism Exp $
# $Revision: 1.1
1
$
# $Id: configure,v 1.1
2 2003/06/24 20:22:39
chrism Exp $
# $Revision: 1.1
2
$
#####################################################################
# 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment