$NetBSD: patch-ac,v 1.2 2007/06/08 14:16:16 wiz Exp $ --- Lib/distutils/command/build_scripts.py.orig 2004-11-10 22:23:15.000000000 +0000 +++ Lib/distutils/command/build_scripts.py @@ -104,7 +104,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()