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

Diff of /eclass/python.eclass

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

Revision 1.33 Revision 1.34
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
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.33 2008/02/28 20:20:32 dev-zero Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.34 2008/03/28 07:11:57 hawking Exp $
4 4
5# @ECLASS: python.eclass 5# @ECLASS: python.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# python@gentoo.org 7# python@gentoo.org
8# 8#
212 done 212 done
213 fi 213 fi
214 214
215 for path in ${SEARCH_PATH}; do 215 for path in ${SEARCH_PATH}; do
216 einfo "Cleaning orphaned Python bytecode from ${path} .." 216 einfo "Cleaning orphaned Python bytecode from ${path} .."
217 for obj in $(find ${path} -name *.py[co]); do 217 for obj in $(find ${path} -name '*.py[co]'); do
218 src_py="${obj%[co]}" 218 src_py="${obj%[co]}"
219 if [ ! -f "${src_py}" ]; then 219 if [ ! -f "${src_py}" ]; then
220 einfo "Purging ${src_py}[co]" 220 einfo "Purging ${src_py}[co]"
221 rm -f ${src_py}[co] 221 rm -f ${src_py}[co]
222 fi 222 fi

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

  ViewVC Help
Powered by ViewVC 1.1.20