Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 2/3] Remove redundant 'cd ${BUILD_DIR}'.
Date: Sun, 28 Oct 2012 15:58:43
Message-Id: 1351439877-9025-2-git-send-email-mgorny@gentoo.org
1 This is done in distutils-r1_run_phase anyway.
2 ---
3 gx86/eclass/distutils-r1.eclass | 2 --
4 1 file changed, 2 deletions(-)
5
6 diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass
7 index b991ab4..6bec5bb 100644
8 --- a/gx86/eclass/distutils-r1.eclass
9 +++ b/gx86/eclass/distutils-r1.eclass
10 @@ -184,7 +184,6 @@ distutils-r1_python_configure() {
11 distutils-r1_python_compile() {
12 debug-print-function ${FUNCNAME} "${@}"
13
14 - cd "${BUILD_DIR}" || die
15 esetuppy build "${@}"
16 }
17
18 @@ -245,7 +244,6 @@ distutils-r1_python_install() {
19
20 unset PYTHONDONTWRITEBYTECODE
21
22 - cd "${BUILD_DIR}" || die
23 esetuppy install "${flags[@]}" --root="${D}" "${@}"
24
25 distutils-r1_rename_scripts
26 --
27 1.7.12.4