projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50aba8d
)
Avoid an error message from find when "${D}"/usr/share
author
Zac Medico
<zmedico@gentoo.org>
Sat, 13 Oct 2007 18:19:34 +0000
(18:19 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 13 Oct 2007 18:19:34 +0000
(18:19 -0000)
does not exist. (trunk r8117)
svn path=/main/branches/2.1.2/; revision=8118
bin/misc-functions.sh
patch
|
blob
|
history
diff --git
a/bin/misc-functions.sh
b/bin/misc-functions.sh
index 8d0e8c60015d38c52d2d4ca4eea5693862ff84dc..1903fe0dbf963db180912aa51692e97962910ceb 100755
(executable)
--- a/
bin/misc-functions.sh
+++ b/
bin/misc-functions.sh
@@
-319,7
+319,7
@@
install_qa_check() {
# Compiled python objects do not belong in /usr/share (FHS violation)
# and can be a pain when upgrading python
- f=$(find "${D}"/usr/share -name '*.py[co]')
+ f=$(
[ -d "${D}"/usr/share ] &&
find "${D}"/usr/share -name '*.py[co]')
if [[ -n ${f} ]] ; then
vecho -ne '\a\n'
eqawarn "QA Notice: Precompiled python object files do not belong in /usr/share"