summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-10-03 13:51:09 (GMT)
committerGuido van Rossum <guido@python.org>2000-10-03 13:51:09 (GMT)
commit5191463276a83fee8a16bfb2867d27efdef4eaa3 (patch)
treee7bc019a7693f0ae66985f0474db8c44f9b0a35d /Lib
parent099e534fa4cefb18b53ed0668f08dbd89deea78f (diff)
downloadcpython-5191463276a83fee8a16bfb2867d27efdef4eaa3.zip
cpython-5191463276a83fee8a16bfb2867d27efdef4eaa3.tar.gz
cpython-5191463276a83fee8a16bfb2867d27efdef4eaa3.tar.bz2
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.
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/cgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py
index 1e1b2b7..dd5bee6 100755
--- a/Lib/cgi.py
+++ b/Lib/cgi.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#! /usr/local/bin/python
"""Support module for CGI (Common Gateway Interface) scripts.