[Python-checkins] CVS: python/dist/src/Lib cgi.py,1.54,1.55

Guido van Rossum python-dev@python.org
Tue, 3 Oct 2000 06:51:12 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv29633

Modified Files:
	cgi.py 
Log Message:
Undo Ping's change.

CGI scripts should *not* use /usr/bin/env, since on systems that don't
come standard with Python installed, Python isn't on the default $PATH.

Too bad that this breaks on Linux, where Python is in /usr/bin which
is on the default path -- the point is that you must manually edit
your CGI scripts when you install them.


Index: cgi.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/cgi.py,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -r1.54 -r1.55
*** cgi.py	2000/10/03 08:32:00	1.54
--- cgi.py	2000/10/03 13:51:09	1.55
***************
*** 1,3 ****
! #!/usr/bin/env python
  
  """Support module for CGI (Common Gateway Interface) scripts.
--- 1,3 ----
! #! /usr/local/bin/python
  
  """Support module for CGI (Common Gateway Interface) scripts.