$NetBSD: patch-ab,v 1.2 2002/11/27 17:25:26 drochner Exp $ --- ./Ft/Lib/DistExt/BuildScripts.py.orig Sat Jul 27 20:09:21 2002 +++ ./Ft/Lib/DistExt/BuildScripts.py Fri Nov 15 19:44:06 2002 @@ -5,7 +5,7 @@ from distutils.dep_util import newer SCRIPT = """\ -#!/usr/bin/env python +#!%(exec)s import sys sys.path.insert(0, %(install_dir)r) %(import)s @@ -136,6 +136,7 @@ script.identifier) else: args['import'] = 'import %s' % script.identifier + args['exec'] = sys.executable f = open(outfile, 'w') f.write(SCRIPT % args)