summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-11-25 09:44:18 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-11-25 09:44:18 +0000
commitf03a01c56642f81ab559c4b47b6936fd918a3c12 (patch)
treeb27d6104f0e17145b4cbec5cad442b66f5cf5da6 /eclass
parentsome permissions fixups, added robust, coreutils compat. thanks to apprentice... (diff)
downloadgentoo-2-f03a01c56642f81ab559c4b47b6936fd918a3c12.tar.gz
gentoo-2-f03a01c56642f81ab559c4b47b6936fd918a3c12.tar.bz2
gentoo-2-f03a01c56642f81ab559c4b47b6936fd918a3c12.zip
fix support for multiple modnames in PYTHON_MODNAME
Diffstat (limited to 'eclass')
-rw-r--r--eclass/distutils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/distutils.eclass b/eclass/distutils.eclass
index 22d0b0b42809..4a4d576eb560 100644
--- a/eclass/distutils.eclass
+++ b/eclass/distutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.21 2003/10/23 23:15:57 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.22 2003/11/25 09:44:18 liquidx Exp $
#
# Author: Jon Nelson <jnelson@gentoo.org>
# Current Maintainer: Alastair Tse <liquidx@gentoo.org>
@@ -67,7 +67,7 @@ distutils_pkg_postrm() {
if has_version ">=dev-lang/python-2.3"; then
ebegin "Performing Python Module Cleanup .."
if [ -n "${PYTHON_MODNAME}" ]; then
- for pymod in "${PYTHON_MODNAME}"; do
+ for pymod in ${PYTHON_MODNAME}; do
for moddir in "`ls -d --color=none -1 ${ROOT}usr/lib/python*/site-packages/${pymod} 2> /dev/null`"; do
python_mod_cleanup ${moddir}
done