summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-11-05 15:15:32 +0000
committerMichał Górny <mgorny@gentoo.org>2012-11-05 15:15:32 +0000
commite4980d27397f69d9dfdd1a7c945bd5730a8a52ef (patch)
treec8f7e490559bdd5fb0b573ff4bc29560e4c794a1 /eclass/distutils-r1.eclass
parentVersion bump. (diff)
downloadgentoo-2-e4980d27397f69d9dfdd1a7c945bd5730a8a52ef.tar.gz
gentoo-2-e4980d27397f69d9dfdd1a7c945bd5730a8a52ef.tar.bz2
gentoo-2-e4980d27397f69d9dfdd1a7c945bd5730a8a52ef.zip
Fix enabling byte-compiling.
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 7a62761a397e..bafa6239ff7f 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.17 2012/11/01 12:19:22 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.18 2012/11/05 15:15:32 mgorny Exp $
# @ECLASS: distutils-r1
# @MAINTAINER:
@@ -281,7 +281,8 @@ distutils-r1_python_install() {
debug-print "${FUNCNAME}: [${EPYTHON}] flags: ${flags}"
# enable compilation for the install phase.
- local PYTHONDONTWRITEBYTECODE=
+ local PYTHONDONTWRITEBYTECODE
+ export PYTHONDONTWRITEBYTECODE
esetup.py install "${flags[@]}" --root="${D}" "${@}"