Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 455948

Summary: app-admin/python-updater: Update ebuild-helpers/sed path
Product: Gentoo Linux Reporter: Naohiro Aota <naota>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED WONTFIX    
Severity: normal CC: bsd+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Naohiro Aota gentoo-dev 2013-02-07 01:27:55 UTC
Since this commit below, bin/ebuild-helpers/sed is renamed to bin/ebuild-helpers/bsd/sed.

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commitdiff;h=0c89363dfe8afd98e67b8916ae8233904026493f;hp=0b657f683f8498de59cf254dfb016bf313930b1d

With this change, this part of python-updater won't work anymore:

if [[ "${PMS_COMMAND[${PMS_INDEX}]}" == "emerge" ]]; then
        sed="$(/usr/bin/python -c "import os; print(os.path.dirname(os.path.realpath('$(type -p emerge)')))")/ebuild-helpers/sed"
        if [[ -x "${sed}" ]]; then
                alias sed="${sed}"
        fi
fi

Please update the code.
Comment 1 Pacho Ramos gentoo-dev 2018-02-14 15:59:16 UTC
removed from the tree