summaryrefslogtreecommitdiff
path: root/lang/python23/patches/patch-ae
blob: e3e2b0977108d7579911db357ca895d378e9cd87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ae,v 1.2 2003/12/08 21:13:56 recht Exp $

--- Lib/distutils/command/build_scripts.py.orig	2003-06-27 21:33:38.000000000 +0200
+++ Lib/distutils/command/build_scripts.py
@@ -99,7 +99,7 @@ class build_scripts (Command):
                         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()