summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cannadic.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/cannadic.eclass b/eclass/cannadic.eclass
index ec7119f8e06c..7392d5ce6a9b 100644
--- a/eclass/cannadic.eclass
+++ b/eclass/cannadic.eclass
@@ -59,7 +59,9 @@ dicsdir-install() {
cannadic_src_install() {
local f
for f in *.c[btl]d *.t; do
- cannadic-install "${f}"
+ if [[ -s "${f}" ]]; then
+ cannadic-install "${f}"
+ fi
done 2> /dev/null
dicsdir-install || die