From 15acf64a288e6a1b731f8f31bd794e2628c8a396 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Fri, 26 Feb 2010 16:25:49 +0000
Subject: [PATCH]  - use env to invoke script

${:software_home}/bin/python2.4 is a python script wrapper for
${:software_home}/parts/python2.4/bin/python2.4 binary.

On some shells (like bash3 on debian) it is not possible to use
non binary in #!. But when using /usr/bin/env /path/to/script
all works.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33153 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 buildout/profiles/deployment.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildout/profiles/deployment.cfg b/buildout/profiles/deployment.cfg
index 1c189059c4..61b737e86f 100644
--- a/buildout/profiles/deployment.cfg
+++ b/buildout/profiles/deployment.cfg
@@ -35,4 +35,4 @@ update-command = ${:command}
 
 [software_definition]
 software_home = /opt/erp5
-executable = ${:software_home}/bin/python2.4
+executable = /usr/bin/env ${:software_home}/bin/python2.4
-- 
2.30.9