pkgsrc/lang/python23/patches/patch-ae
recht bb50a9cc2d Update to 2.3.4
This is a bug-fix release for Python 2.3 that fixes a number of bugs,
including a couple of weakref bugs and a bug in pickle version 2. There
are also a number of fixes to the standard library, and some build
fixes - see the release notes ( http://www.python.org/2.3.4/NEWS.html )
for details.
2004-06-02 12:29:28 +00:00

13 lines
689 B
Text

$NetBSD: patch-ae,v 1.3 2004/06/02 12:29:28 recht Exp $
--- Lib/distutils/command/build_scripts.py.orig 2004-04-01 05:56:46.000000000 +0200
+++ Lib/distutils/command/build_scripts.py 2004-06-02 13:45:05.000000000 +0200
@@ -101,7 +101,7 @@
outf.write("#!%s%s\n" %
(os.path.join(
sysconfig.get_config_var("BINDIR"),
- "python" + sysconfig.get_config_var("EXE")),
+ "python%s" % sys.version[:3] + sysconfig.get_config_var("EXE")),
post_interp))
outf.writelines(f.readlines())
outf.close()