From: Andreas Sturmlechner Date: Sat, 10 Jun 2017 17:43:37 +0000 (+0200) Subject: kde5.eclass: Fix non-compression of docbooks X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7c435049ab34632f19cd849231e64645bff75cbb;p=gentoo.git kde5.eclass: Fix non-compression of docbooks PREFIX was never defined, making this a no-op. --- diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 71839733485c..cbcbb27672c8 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -710,10 +710,10 @@ kde5_src_install() { cmake-utils_src_install - # We don't want ${PREFIX}/share/doc/HTML to be compressed, + # We don't want /usr/share/doc/HTML to be compressed, # because then khelpcenter can't find the docs - if [[ -d ${ED}/${PREFIX}/share/doc/HTML ]]; then - docompress -x ${PREFIX}/share/doc/HTML + if [[ -d ${ED%/}/usr/share/doc/HTML ]]; then + docompress -x /usr/share/doc/HTML fi }