Search
SailfishOS Open Build Service
>
Projects
>
home:eenemo
:
branches:mer:mds2:Core:i486:master
>
python3
> cgi-py-shebang.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File cgi-py-shebang.patch of Package python3
--- Python-3.3.1/Lib/cgi.py 2013-04-06 00:41:34.000000000 -0700 +++ Python-3.3.1-cgi/Lib/cgi.py 2013-05-10 13:37:36.194949671 -0700 @@ -1,10 +1,6 @@ -#! /usr/local/bin/python +#! /usr/bin/env 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, +# ... 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.