]> granicus.if.org Git - python/commitdiff
Undo Ping's change.
authorGuido van Rossum <guido@python.org>
Tue, 3 Oct 2000 13:51:09 +0000 (13:51 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 3 Oct 2000 13:51:09 +0000 (13:51 +0000)
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.

Lib/cgi.py

index 1e1b2b771fd0c9daf490feb4e0025e9290fd567b..dd5bee6a9d1a32bb1e3b3b0780c9436aafb227d3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#! /usr/local/bin/python
 
 """Support module for CGI (Common Gateway Interface) scripts.