summaryrefslogtreecommitdiff
path: root/lang/python23-nth/patches/patch-ae
blob: b1a1dcc79c75be3e6ce87649578d29932a62c52c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ae,v 1.1.1.1 2005/01/23 22:57:19 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:58:52.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()