commit:     7c435049ab34632f19cd849231e64645bff75cbb
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 17:43:37 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jun 11 11:43:55 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c435049

kde5.eclass: Fix non-compression of docbooks

PREFIX was never defined, making this a no-op.

 eclass/kde5.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 71839733485..cbcbb27672c 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
 }
 

Reply via email to