packages/lang/python/python3/patches/007-distutils-do-not-adjust-path.patch
2018-10-18 16:56:47 +08:00

11 lines
390 B
Diff

--- a/Lib/distutils/command/build_scripts.py
+++ b/Lib/distutils/command/build_scripts.py
@@ -91,6 +91,7 @@ class build_scripts(Command):
adjust = True
post_interp = match.group(1) or b''
+ adjust = 0
if adjust:
log.info("copying and adjusting %s -> %s", script,
self.build_dir)