summaryrefslogtreecommitdiff
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
commit0b9ecb5b0dce8ff16e22035a2752e16664fed4da (patch)
tree2e472451ecddf97bf4d878ccfae271f56da22cd9 /eclass/distutils.eclass
parentsome permissions fixups, added robust, coreutils compat. thanks to apprentice... (diff)
downloadhistorical-0b9ecb5b0dce8ff16e22035a2752e16664fed4da.tar.gz
historical-0b9ecb5b0dce8ff16e22035a2752e16664fed4da.tar.bz2
historical-0b9ecb5b0dce8ff16e22035a2752e16664fed4da.zip
fix support for multiple modnames in PYTHON_MODNAME
Diffstat (limited to 'eclass/distutils.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