[Python-checkins] CVS: python/dist/src/Lib/distutils/command build_scripts.py,1.13,1.14
M.-A. Lemburg
lemburg@users.sourceforge.net
Tue, 11 Dec 2001 12:44:44 -0800
Update of /cvsroot/python/python/dist/src/Lib/distutils/command
In directory usw-pr-cvs1:/tmp/cvs-serv5845
Modified Files:
build_scripts.py
Log Message:
Joe VanAndel wrote:
>
> When using 'distutils' (shipped with Python 2.1) I've found that my
> Python scripts installed with a first line of:
>
> #!/usr/bin/python2.1None
>
> This is caused by distutils trying to patch the first line of the python
> script to use the current interpreter.
Index: build_scripts.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/build_scripts.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** build_scripts.py 2001/12/10 16:15:44 1.13
--- build_scripts.py 2001/12/11 20:44:42 1.14
***************
*** 81,85 ****
if match:
adjust = 1
! post_interp = match.group(1)
if adjust:
--- 81,85 ----
if match:
adjust = 1
! post_interp = match.group(1) or ''
if adjust: