mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

Refreshed patches. (From OE-Core rev: b82ea986a492791716c3da07a7d728edd17654c9) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From 5b0d1212d661e9a8a36738279fc9109f96eebd25 Mon Sep 17 00:00:00 2001
|
|
From: Mark Hatle <mark.hatle@windriver.com>
|
|
Date: Wed, 21 Sep 2011 20:55:33 -0500
|
|
Subject: [PATCH] Lib/cgi.py: Update the script as mentioned in the comment
|
|
|
|
Upstream-Status: Inappropriate [distribution]
|
|
|
|
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
|
|
|
---
|
|
Lib/cgi.py | 11 +----------
|
|
1 file changed, 1 insertion(+), 10 deletions(-)
|
|
|
|
diff --git a/Lib/cgi.py b/Lib/cgi.py
|
|
index 6cb8cf2..a873ff3 100755
|
|
--- a/Lib/cgi.py
|
|
+++ b/Lib/cgi.py
|
|
@@ -1,13 +1,4 @@
|
|
-#! /usr/local/bin/python
|
|
-
|
|
-# NOTE: the above "/usr/local/bin/python" is NOT a mistake. It is
|
|
-# intentionally NOT "/usr/bin/env python". On many systems
|
|
-# (e.g. Solaris), /usr/local/bin is not in $PATH as passed to CGI
|
|
-# scripts, and /usr/local/bin is the default directory where Python is
|
|
-# installed, so /usr/bin/env would be unable to find python. Granted,
|
|
-# binary installations by Linux vendors often install Python in
|
|
-# /usr/bin. So let those vendors patch cgi.py to match their choice
|
|
-# of installation.
|
|
+#! /usr/bin/env python
|
|
|
|
"""Support module for CGI (Common Gateway Interface) scripts.
|
|
|