summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-07-21 19:00:56 +0000
committerMichał Górny <mgorny@gentoo.org>2013-07-21 19:00:56 +0000
commit52b6ef42c6b454f4fd3d9b631dcb98d434532bb3 (patch)
tree1c992d291d3c386f3a82ea1f8948a26b894dd856 /eclass
parentadded prefix support (bug #475906) (diff)
downloadhistorical-52b6ef42c6b454f4fd3d9b631dcb98d434532bb3.tar.gz
historical-52b6ef42c6b454f4fd3d9b631dcb98d434532bb3.tar.bz2
historical-52b6ef42c6b454f4fd3d9b631dcb98d434532bb3.zip
Replace local+export with "local -x".
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/distutils-r1.eclass5
2 files changed, 6 insertions, 4 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 140f9c2dcc7c..826d301bcc07 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.885 2013/07/21 09:23:44 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.886 2013/07/21 19:00:56 mgorny Exp $
+
+ 21 Jul 2013; Michał Górny <mgorny@gentoo.org> distutils-r1.eclass:
+ Replace local+export with "local -x".
21 Jul 2013; Pacho Ramos <pacho@gentoo.org> db.eclass, db-use.eclass:
Cleanup due #231248
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index c35022cce158..ac47650b90a5 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.72 2013/07/09 01:57:07 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.73 2013/07/21 19:00:56 mgorny Exp $
# @ECLASS: distutils-r1
# @MAINTAINER:
@@ -441,8 +441,7 @@ distutils-r1_python_install() {
debug-print "${FUNCNAME}: [${EPYTHON}] flags: ${flags}"
# enable compilation for the install phase.
- local PYTHONDONTWRITEBYTECODE
- export PYTHONDONTWRITEBYTECODE
+ local -x PYTHONDONTWRITEBYTECODE
# python likes to compile any module it sees, which triggers sandbox
# failures if some packages haven't compiled their modules yet.