Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 150416
Collapse All | Expand All

(-)file_not_specified_in_diff (-5 / +5 lines)
Line  Link Here
0
-- eclass/python.eclass
0
++ eclass/python.eclass
Lines 217-227 Link Here
217
217
218
	for path in ${SEARCH_PATH}; do
218
	for path in ${SEARCH_PATH}; do
219
		einfo "Cleaning orphaned Python bytecode from ${path} .."
219
		einfo "Cleaning orphaned Python bytecode from ${path} .."
220
		for obj in $(find ${path} -name *.pyc); do
220
		for obj in $(find ${path} -name *.py[co]); do
221
			src_py="${obj%c}"
221
			src_py="${obj%[co]}"
222
			if [ ! -f "${src_py}" ]; then
222
			if [ ! -f "${src_py}" ]; then
223
				einfo "Purging ${src_py}[co]"
223
				einfo "Purging ${obj}"
224
				rm -f ${src_py}[co]
224
				rm -f ${obj}
225
			fi
225
			fi
226
		done
226
		done
227
		# attempt to remove directories that maybe empty
227
		# attempt to remove directories that maybe empty

Return to bug 150416