diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-09-28 19:11:05 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-09-28 19:11:05 +0000 |
commit | e74ef37830668f9f9d6524812a4af7698742b29d (patch) | |
tree | 111fb5f34dc6d89b903b8e34d7d3f60c0357c116 /eclass/distutils-r1.eclass | |
parent | Version bump (diff) | |
download | gentoo-2-e74ef37830668f9f9d6524812a4af7698742b29d.tar.gz gentoo-2-e74ef37830668f9f9d6524812a4af7698742b29d.tar.bz2 gentoo-2-e74ef37830668f9f9d6524812a4af7698742b29d.zip |
Truncate .pydistutils.cfg in case we call distutils-r1_python_compile more than once.
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 5cca296a64a0..4947eedcb624 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.85 2013/09/27 19:21:43 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.86 2013/09/28 19:11:05 floppym Exp $ # @ECLASS: distutils-r1 # @MAINTAINER: @@ -348,7 +348,7 @@ distutils-r1_python_configure() { # Create implementation-specific configuration file for distutils, # setting proper build-dir paths. _distutils-r1_create_setup_cfg() { - cat >> "${HOME}"/.pydistutils.cfg <<-_EOF_ || die + cat > "${HOME}"/.pydistutils.cfg <<-_EOF_ || die [build] build-base = ${BUILD_DIR} |