Summary: | python-distutils-ng: python_install_all() done in different PWD than it says | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Eclasses | Assignee: | Krzysztof Pawlik (RETIRED) <nelchael> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michał Górny
![]() ![]() ![]() ![]() Thank you for this report, I've forgot the calls to pushd/popd: Index: python-distutils-ng.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/python-distutils-ng.eclass,v retrieving revision 1.11 diff -u -r1.11 python-distutils-ng.eclass --- python-distutils-ng.eclass 3 Apr 2012 19:21:45 -0000 1.11 +++ python-distutils-ng.eclass 30 Apr 2012 08:20:08 -0000 @@ -388,7 +388,9 @@ S="${WORKDIR}/${_PACKAGE_SPECIFIC_S}" if type python_install_all &> /dev/null; then einfo "Running python_install_all in ${S} for all" + pushd "${S}" &> /dev/null python_install_all + popd &> /dev/null fi for impl in ${PYTHON_COMPAT}; do |