Commit 5cb334ed authored by Chris McDonough's avatar Chris McDonough

Collector 952 (--with-python that has no trailing arg causes it to be passed...

Collector 952 (--with-python that has no trailing arg causes it to be passed to Python configurator, which raises an inscrutable error).
parent 18ac5c47
#!/bin/sh #!/bin/sh
# Zope configure script # Zope configure script
# $Id: configure,v 1.8 2003/06/13 16:43:05 chrism Exp $ # $Id: configure,v 1.9 2003/06/20 00:34:33 chrism Exp $
# $Revision: 1.8 $ # $Revision: 1.9 $
##################################################################### #####################################################################
# BEGIN EDITABLE PARAMETERS # # BEGIN EDITABLE PARAMETERS #
...@@ -172,6 +172,14 @@ for OPT in $@; do ...@@ -172,6 +172,14 @@ for OPT in $@; do
out "" out ""
out "Using Python interpreter at $FOUND" out "Using Python interpreter at $FOUND"
;; ;;
--with-python)
# in case someone passed in a --with-python without a value,
# we raise an error instead of passing it along to configure.py
# (which would raise an inscrutable error were it to receive this
# option).
out "--with-python argument requires an option"
exit 1
;;
--quiet* | -q*) --quiet* | -q*)
QUIET="true" QUIET="true"
NEWOPTS="$NEWOPTS $OPT" NEWOPTS="$NEWOPTS $OPT"
......
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