commit 056f0002b1644ca511bb721dc562b87825a5b371 parent cdb2ee745f376e2739f6e6070c449a0735be1e12 Author: Steven Barth <steven@midlink.org> Date: Mon, 2 Mar 2015 07:47:20 +0100 Merge pull request #962 from sairon/python-fix-distutils-adjusting-path python: patch distutils adjusting path in scripts' shebang Diffstat:
| A | lang/python/patches/170-distutils-do-not-adjust-path.patch | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/lang/python/patches/170-distutils-do-not-adjust-path.patch b/lang/python/patches/170-distutils-do-not-adjust-path.patch @@ -0,0 +1,10 @@ +--- a/Lib/distutils/command/build_scripts.py ++++ b/Lib/distutils/command/build_scripts.py +@@ -89,6 +89,7 @@ class build_scripts (Command): + adjust = 1 + post_interp = match.group(1) or '' + ++ adjust = 0 + if adjust: + log.info("copying and adjusting %s -> %s", script, + self.build_dir)