summaryrefslogtreecommitdiff
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/distutils-r1.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/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass5
1 files changed, 2 insertions, 3 deletions
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.