pkgsrc/lang/python23/patches/patch-ae

14 lines
682 B
Text
Raw Normal View History

$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()