[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] [PATCH 2/3] Remove redundant 'cd ${BUILD_DIR}'.
From:       Michał Górny <mgorny () gentoo ! org>
Date:       2012-10-28 15:57:56
Message-ID: 1351439877-9025-2-git-send-email-mgorny () gentoo ! org
[Download RAW message or body]

This is done in distutils-r1_run_phase anyway.
---
 gx86/eclass/distutils-r1.eclass | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass
index b991ab4..6bec5bb 100644
--- a/gx86/eclass/distutils-r1.eclass
+++ b/gx86/eclass/distutils-r1.eclass
@@ -184,7 +184,6 @@ distutils-r1_python_configure() {
 distutils-r1_python_compile() {
 	debug-print-function ${FUNCNAME} "${@}"
 
-	cd "${BUILD_DIR}" || die
 	esetuppy build "${@}"
 }
 
@@ -245,7 +244,6 @@ distutils-r1_python_install() {
 
 	unset PYTHONDONTWRITEBYTECODE
 
-	cd "${BUILD_DIR}" || die
 	esetuppy install "${flags[@]}" --root="${D}" "${@}"
 
 	distutils-r1_rename_scripts
-- 
1.7.12.4


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic