summaryrefslogtreecommitdiff
path: root/lang/python20/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python20/patches/patch-aj')
-rw-r--r--lang/python20/patches/patch-aj13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/python20/patches/patch-aj b/lang/python20/patches/patch-aj
new file mode 100644
index 00000000000..a7532b6db98
--- /dev/null
+++ b/lang/python20/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2007/07/24 16:53:20 drochner Exp $
+
+--- Lib/distutils/command/build_scripts.py.orig 2007-07-23 16:04:02.000000000 +0200
++++ Lib/distutils/command/build_scripts.py
+@@ -78,7 +78,7 @@ class build_scripts (Command):
+ match = first_line_re.match(first_line)
+ if match:
+ adjust = 1
+- post_interp = match.group(1)
++ post_interp = match.group(1) or ''
+
+ if adjust:
+ self.announce("copying and adjusting %s -> %s" %