summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde5.eclass6
1 files changed, 3 insertions, 3 deletions
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
}