From 63346b7199999a45b3f57bcf4b28422e147c1967 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 20 Jan 2013 21:41:08 +0000 Subject: Do not redirect stderr of pushd&popd. Thanks to vapier for catching that. --- eclass/ChangeLog | 5 ++++- eclass/distutils-r1.eclass | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'eclass') diff --git a/eclass/ChangeLog b/eclass/ChangeLog index cc7dd256c4af..4b46ad97257b 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.627 2013/01/20 11:42:30 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.628 2013/01/20 21:41:08 mgorny Exp $ + + 20 Jan 2013; Michał Górny distutils-r1.eclass: + Do not redirect stderr of pushd&popd. Thanks to vapier for catching that. 20 Jan 2013; Pacho Ramos +readme.gentoo.eclass: Finally commit readme.gentoo.eclass to create a README.gentoo doc file diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 6a062aec81aa..d1d99780f6be 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.45 2013/01/15 11:10:17 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.46 2013/01/20 21:41:08 mgorny Exp $ # @ECLASS: distutils-r1 # @MAINTAINER: @@ -415,7 +415,7 @@ distutils-r1_run_phase() { debug-print-function ${FUNCNAME} "${@}" if [[ ${DISTUTILS_IN_SOURCE_BUILD} ]]; then - pushd "${BUILD_DIR}" &>/dev/null || die + pushd "${BUILD_DIR}" >/dev/null || die else local PYTHONPATH="${BUILD_DIR}/lib:${PYTHONPATH}" export PYTHONPATH @@ -436,7 +436,7 @@ distutils-r1_run_phase() { fi if [[ ${DISTUTILS_IN_SOURCE_BUILD} ]]; then - popd &>/dev/null || die + popd >/dev/null || die fi # Store them for reuse. -- cgit v1.2.3-65-gdbad