diff options
author | Marien Zwart <marienz@gentoo.org> | 2005-12-07 17:57:12 +0000 |
---|---|---|
committer | Marien Zwart <marienz@gentoo.org> | 2005-12-07 17:57:12 +0000 |
commit | aa9327655785d8d37964984a3fcd6a60a5852865 (patch) | |
tree | a3d237f4c1809b32e373ce6fc892bb2e2f1e1259 /eclass | |
parent | Partially fix parallel make screwups (diff) | |
download | gentoo-2-aa9327655785d8d37964984a3fcd6a60a5852865.tar.gz gentoo-2-aa9327655785d8d37964984a3fcd6a60a5852865.tar.bz2 gentoo-2-aa9327655785d8d37964984a3fcd6a60a5852865.zip |
Make distutils.eclass distutils_pkg_postinst support .pyc/.pyo pruning of multiple packages (bug #96389).
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/distutils.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/distutils.eclass b/eclass/distutils.eclass index e1ce36177c88..4ca8a494edfe 100644 --- a/eclass/distutils.eclass +++ b/eclass/distutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.29 2005/11/04 03:28:06 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.30 2005/12/07 17:57:12 marienz Exp $ # # Author: Jon Nelson <jnelson@gentoo.org> # Current Maintainer: Alastair Tse <liquidx@gentoo.org> @@ -84,7 +84,7 @@ distutils_pkg_postinst() { if has_version ">=dev-lang/python-2.3"; then python_version - for pymod in "${PYTHON_MODNAME}"; do + for pymod in ${PYTHON_MODNAME}; do if [ -d "${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${pymod}" ]; then python_mod_optimize ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${pymod} fi |