summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/kde5.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 80f8a7d4c0e..76209660ef5 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -472,7 +472,7 @@ kde5_src_prepare() {
# enable only the requested translations
# when required
- if [[ -d po ]] ; then
+ if [[ -d po && -v LINGUAS ]] ; then
pushd po > /dev/null || die
for lang in *; do
if [[ -d ${lang} ]] && ! has ${lang} ${LINGUAS} ; then