Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 200082 Details for
Bug 279915
Shebang line of /usr/bin/emerge is interpreted incorrectly when app-admin/eselect-python-20090801 is installed and Linux <2.6.28 or non-Linux kernel is used
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
python.eselect.patch
python.eselect.diff (text/plain), 986 bytes, created by
Jonathan Callen (RETIRED)
on 2009-08-04 01:40:52 UTC
(
hide
)
Description:
python.eselect.patch
Filename:
MIME Type:
Creator:
Jonathan Callen (RETIRED)
Created:
2009-08-04 01:40:52 UTC
Size:
986 bytes
patch
obsolete
>--- python.eselect.orig >+++ python.eselect >@@ -26,14 +26,10 @@ find_targets() { > > set_python_script() { > local script="${INTERPRETER_PATH}${1}" target="${2}" >- cat << EOF > "${script}" >-#!/bin/sh >-# Gentoo Python wrapper script >- >-[[ "\${EPYTHON}" =~ (/|^python\$) ]] && EPYTHON="${target}" >-"\${0%/*}/\${EPYTHON:-${target}}" "\$@" >-EOF >- chmod +x "${script}" >+ if [[ ! -L ${script} ]]; then >+ ln -s ${EPREFIX}/usr/libexec/python-wrapper ${script} >+ fi >+ echo "${target} > "${ENV_D_PATH}/python/config" > } > > set_python_config_script() { >@@ -138,8 +134,9 @@ describe_show() { > } > > do_show() { >- active=$(canonicalise "${INTERPRETER_PATH}python") >- echo ${active#${INTERPRETER_PATH}} >+ if [[ -f "${ENV_D_PATH}/python/config" ]]; then >+ cat "${ENV_D_PATH}/python/config" >+ fi > } > > ### list action ### >@@ -215,7 +212,7 @@ do_update() { > shift > done > >- if [[ -L "${ROOT%/}/usr/bin/python" ]]; then >+ if [[ -f "${ENV_D_PATH}/python/config" ]]; then > ${if_unset} && return > fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279915
:
199927
|
199932
|
199940
|
200017
|
200027
|
200065
| 200082 |
200087
|
200095
|
200127