Subject: pkg/24069: lang/python/ should be more flexible
To: None <>
From: Min Sik Kim <>
List: netbsd-bugs
Date: 01/12/2004 11:48:43
>Number:         24069
>Category:       pkg
>Synopsis:       lang/python/ should be more flexible
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 12 17:49:00 UTC 2004
>Originator:     Min Sik Kim
>Release:        NetBSD 1.6ZG
>Description: recognizes only "python" as a command name.  But some
packages (e.g. py-subversion) have scripts using different command
name such as python2.  In that case, makes those
scripts unexecutable.


RCS file: /cvsroot/pkgsrc/lang/python/,v
retrieving revision 1.3
diff -u -r1.3
---	2002/10/18 16:34:54	1.3
+++	2004/01/12 17:44:02
@@ -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};"
 System: NetBSD 1.6ZG NetBSD 1.6ZG (SULLEY) #1: Tue Dec 16 01:53:13 CST 2003 i386
 Architecture: i386
 Machine: i386