r2368 - in zope2.12/trunk/debian (python_interpreter_template.in)

arnau at users.alioth.debian.org arnau at users.alioth.debian.org
Wed Sep 7 08:29:25 UTC 2011


    Date: Wednesday, September 7, 2011 @ 08:29:23
  Author: arnau
Revision: 2368

Fix python_interpreter_template.in arguments expansion by using "$@" rather than $*.

Creating a Zope instance was failing because dzhandle calls mkzopeinstance
with --python, which was then trying to run the shell script with this
argument: -c"import Zope2; print Zope2.__file__" to get Zope path.

Modified:
  zope2.12/trunk/debian/python_interpreter_template.in

Modified: zope2.12/trunk/debian/python_interpreter_template.in
===================================================================
--- zope2.12/trunk/debian/python_interpreter_template.in	2011-09-07 04:03:36 UTC (rev 2367)
+++ zope2.12/trunk/debian/python_interpreter_template.in	2011-09-07 08:29:23 UTC (rev 2368)
@@ -12,4 +12,4 @@
 	export PYTHONPATH="$PYTHONPATH:${INSTANCE_HOME}/lib/python"
 fi
 
-/usr/bin/python2.6 $*
+/usr/bin/python2.6 "$@"




More information about the pkg-zope-developers mailing list