$NetBSD: patch-ab,v 1.1.1.1 2002/08/22 09:21:32 drochner Exp $ --- ./Ft/Lib/DistExt/BuildScripts.py.orig Tue Aug 20 15:30:48 2002 +++ ./Ft/Lib/DistExt/BuildScripts.py Tue Aug 20 15:32:31 2002 @@ -5,7 +5,7 @@ from distutils.dep_util import newer SCRIPT = """\ -#!/usr/bin/env python +#!%(exec)s import os cwd = os.getcwd() os.chdir(os.path.dirname(os.__file__)) @@ -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)