summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-07-12 20:58:53 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-07-12 20:58:53 +0900
commit4fafafb440f0c8c469ae393bf65f657c0f6eac3d (patch)
tree3116188e1ae7d10e02f6c41ef7f427980d627a39
parentcannadic.eclass: declare internal variables readonly (diff)
downloadgentoo-4fafafb440f0c8c469ae393bf65f657c0f6eac3d.tar.gz
gentoo-4fafafb440f0c8c469ae393bf65f657c0f6eac3d.tar.bz2
gentoo-4fafafb440f0c8c469ae393bf65f657c0f6eac3d.zip
cannadic.eclass: fix src_install for EAPI > 4
-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