summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-01-20 21:41:08 +0000
committerMichał Górny <mgorny@gentoo.org>2013-01-20 21:41:08 +0000
commit63346b7199999a45b3f57bcf4b28422e147c1967 (patch)
tree2747f0a32f7fa399cd269f0be3b5949497ca35f8 /eclass
parentStable for amd64, wrt bug #452718 (diff)
downloadgentoo-2-63346b7199999a45b3f57bcf4b28422e147c1967.tar.gz
gentoo-2-63346b7199999a45b3f57bcf4b28422e147c1967.tar.bz2
gentoo-2-63346b7199999a45b3f57bcf4b28422e147c1967.zip
Do not redirect stderr of pushd&popd. Thanks to vapier for catching that.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/distutils-r1.eclass6
2 files changed, 7 insertions, 4 deletions
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 <mgorny@gentoo.org> distutils-r1.eclass:
+ Do not redirect stderr of pushd&popd. Thanks to vapier for catching that.
20 Jan 2013; Pacho Ramos <pacho@gentoo.org> +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.