leading ${D} from file paths. (trunk r8935)
svn path=/main/branches/2.1.2/; revision=8936
# Compiled python objects do not belong in /usr/share (FHS violation)
# and can be a pain when upgrading python
- f=$([ -d "${D}"/usr/share ] && find "${D}"/usr/share -name '*.py[co]')
+ f=$([ -d "${D}"/usr/share ] && \
+ find "${D}"usr/share -name '*.py[co]' | sed "s:${D}:/:")
if [[ -n ${f} ]] ; then
vecho -ne '\a\n'
eqawarn "QA Notice: Precompiled python object files do not belong in /usr/share"