diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-10-23 23:15:57 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-10-23 23:15:57 +0000 |
commit | f1140850da73cf8b399d73c2cf19197a37c0607a (patch) | |
tree | 61bcd8a5a1c22e798caf6b6b22fce2e4e5da656e /eclass/distutils.eclass | |
parent | new version 'n cleanup (diff) | |
download | gentoo-2-f1140850da73cf8b399d73c2cf19197a37c0607a.tar.gz gentoo-2-f1140850da73cf8b399d73c2cf19197a37c0607a.tar.bz2 gentoo-2-f1140850da73cf8b399d73c2cf19197a37c0607a.zip |
filter some stderr output, remove empty directories in python_mod_cleanup and make python_mod_exists use virtualx
Diffstat (limited to 'eclass/distutils.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 1a3303e1e10e..22d0b0b42809 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.20 2003/10/19 11:40:25 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.21 2003/10/23 23:15:57 liquidx Exp $ # # Author: Jon Nelson <jnelson@gentoo.org> # Current Maintainer: Alastair Tse <liquidx@gentoo.org> @@ -68,7 +68,7 @@ distutils_pkg_postrm() { ebegin "Performing Python Module Cleanup .." if [ -n "${PYTHON_MODNAME}" ]; then for pymod in "${PYTHON_MODNAME}"; do - for moddir in "`ls -d --color=none -1 ${ROOT}usr/lib/python*/site-packages/${pymod}`"; 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 done |