diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/cgi_py.patch')
| -rw-r--r-- | meta/recipes-devtools/python/python3/cgi_py.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/recipes-devtools/python/python3/cgi_py.patch b/meta/recipes-devtools/python/python3/cgi_py.patch deleted file mode 100644 index 8262c88e73..0000000000 --- a/meta/recipes-devtools/python/python3/cgi_py.patch +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | From a56778372fe8dc7c42f5ffd911d89498c22dd064 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mark Hatle <mark.hatle@windriver.com> | ||
| 3 | Date: Wed, 21 Sep 2011 20:55:33 -0500 | ||
| 4 | Subject: [PATCH] Lib/cgi.py: Update the script as mentioned in the comment | ||
| 5 | |||
| 6 | Upstream-Status: Inappropriate [distribution] | ||
| 7 | |||
| 8 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
| 9 | |||
| 10 | --- | ||
| 11 | Lib/cgi.py | 11 +---------- | ||
| 12 | 1 file changed, 1 insertion(+), 10 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/Lib/cgi.py b/Lib/cgi.py | ||
| 15 | index 8787567..ebe8652 100755 | ||
| 16 | --- a/Lib/cgi.py | ||
| 17 | +++ b/Lib/cgi.py | ||
| 18 | @@ -1,13 +1,4 @@ | ||
| 19 | -#! /usr/local/bin/python | ||
| 20 | - | ||
| 21 | -# NOTE: the above "/usr/local/bin/python" is NOT a mistake. It is | ||
| 22 | -# intentionally NOT "/usr/bin/env python". On many systems | ||
| 23 | -# (e.g. Solaris), /usr/local/bin is not in $PATH as passed to CGI | ||
| 24 | -# scripts, and /usr/local/bin is the default directory where Python is | ||
| 25 | -# installed, so /usr/bin/env would be unable to find python. Granted, | ||
| 26 | -# binary installations by Linux vendors often install Python in | ||
| 27 | -# /usr/bin. So let those vendors patch cgi.py to match their choice | ||
| 28 | -# of installation. | ||
| 29 | +#! /usr/bin/env python | ||
| 30 | |||
| 31 | """Support module for CGI (Common Gateway Interface) scripts. | ||
| 32 | |||
