/[gentoo-x86]/eclass/python.eclass
Gentoo

Diff of /eclass/python.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.11 Revision 1.12
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.11 2003/12/08 17:39:24 liquidx Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.12 2003/12/08 19:02:14 liquidx Exp $
4# 4#
5# Author: Alastair Tse <liquidx@gentoo.org> 5# Author: Alastair Tse <liquidx@gentoo.org>
6# 6#
7# A Utility Eclass that should be inherited by anything that deals with 7# A Utility Eclass that should be inherited by anything that deals with
8# Python or Python modules. 8# Python or Python modules.
185 if [ ! -f "${src_py}" ]; then 185 if [ ! -f "${src_py}" ]; then
186 einfo "Purging ${src_py}[co]" 186 einfo "Purging ${src_py}[co]"
187 rm -f ${src_py}[co] 187 rm -f ${src_py}[co]
188 fi 188 fi
189 done 189 done
190 # attempt to remove directories that maybe empty
191 for dir in $(find ${path} -type d | sort -r); do
192 rmdir ${dir} 2>/dev/null
193 done
190 done 194 done
191} 195}
192 196
193 197

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20