summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/python/application.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python/application.mk b/lang/python/application.mk
index 9c044d83eff..323c31e7d7e 100644
--- a/lang/python/application.mk
+++ b/lang/python/application.mk
@@ -1,4 +1,4 @@
-# $NetBSD: application.mk,v 1.3 2002/10/18 16:34:54 jlam Exp $
+# $NetBSD: application.mk,v 1.4 2004/01/14 02:10:47 xtraeme Exp $
.include "../../lang/python/pyversion.mk"
@@ -6,7 +6,7 @@
# PYTHON_PATCH_SCRIPTS is a list of Python scripts to be installed,
# relative to ${WRKSRC}
-_PYTHON_PATCH_SCRIPT_SED= -e "1s;^\#!.*python;\#!${PYTHONBIN};"
+_PYTHON_PATCH_SCRIPT_SED= -e "1s;^\#!.*python[^ ];\#!${PYTHONBIN};"
_PYTHON_PATCH_SCRIPT_SED+= ${PYTHON_PATCH_SCRIPT_SED}
.if defined(PYTHON_PATCH_SCRIPTS)