summaryrefslogtreecommitdiff
path: root/packages/python/python-native-2.4.0/dont-modify-shebang-line.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-08-05 10:28:21 +0000
committerMichael Lauer <mickey@vanille-media.de>2006-08-05 10:28:21 +0000
commite9de7a29dfc59a02a854ee89b8e3b1e897a83792 (patch)
tree1ced7ed5aac9f3a0e6da009bbd2c92a90ca14d04 /packages/python/python-native-2.4.0/dont-modify-shebang-line.patch
parenta9b96c7308bcb4bfaf5d1fba983375d54f4b386f (diff)
python-native 2.4.0 don't modify first shebang line when installing packages via distutils. closes #1271
Diffstat (limited to 'packages/python/python-native-2.4.0/dont-modify-shebang-line.patch')
-rw-r--r--packages/python/python-native-2.4.0/dont-modify-shebang-line.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/python/python-native-2.4.0/dont-modify-shebang-line.patch b/packages/python/python-native-2.4.0/dont-modify-shebang-line.patch
new file mode 100644
index 0000000000..54109afd62
--- /dev/null
+++ b/packages/python/python-native-2.4.0/dont-modify-shebang-line.patch
@@ -0,0 +1,16 @@
+
+#
+# Signed off by Michael 'Mickey' Lauer <mickey@Vanille.de>
+#
+
+--- Python-2.4/Lib/distutils/command/build_scripts.py~dont-modify-shebang-line
++++ Python-2.4/Lib/distutils/command/build_scripts.py
+@@ -87,7 +87,7 @@
+ continue
+
+ match = first_line_re.match(first_line)
+- if match:
++ if False: #match:
+ adjust = 1
+ post_interp = match.group(1) or ''
+