diff options
author | 2012-05-05 18:00:21 +0000 | |
---|---|---|
committer | 2012-05-05 18:00:21 +0000 | |
commit | a5d2458b3ad752c3142607f056c9c87d38928f1b (patch) | |
tree | 4499c9312bc417cacd6ac0611aefa8736c71c902 /eclass/python-distutils-ng.eclass | |
parent | Version bump. Fixes an argv splitting bug that can affect some packages (like... (diff) | |
download | historical-a5d2458b3ad752c3142607f056c9c87d38928f1b.tar.gz historical-a5d2458b3ad752c3142607f056c9c87d38928f1b.tar.bz2 historical-a5d2458b3ad752c3142607f056c9c87d38928f1b.zip |
Simplify ${D%/}/ to ${D}; PMS says ${D} always has a trailing slash, and it works without a trailing slash anyway.
Diffstat (limited to 'eclass/python-distutils-ng.eclass')
-rw-r--r-- | eclass/python-distutils-ng.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/python-distutils-ng.eclass b/eclass/python-distutils-ng.eclass index fdbf2676062e..50339bc13681 100644 --- a/eclass/python-distutils-ng.eclass +++ b/eclass/python-distutils-ng.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/python-distutils-ng.eclass,v 1.16 2012/05/04 08:31:43 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python-distutils-ng.eclass,v 1.17 2012/05/05 18:00:21 floppym Exp $ # @ECLASS: python-distutils-ng # @MAINTAINER: @@ -181,7 +181,7 @@ _python-distutils-ng_default_distutils_install() { unset PYTHONDONTWRITEBYTECODE [[ -n "${PYTHON_DISABLE_COMPILATION}" ]] && compile_flags="--no-compile" - "${PYTHON}" setup.py install ${compile_flags} --root="${D%/}/" || die + "${PYTHON}" setup.py install ${compile_flags} --root="${D}" || die } # @FUNCTION: python-distutils-ng_redoscript |