summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde5.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 377d2c566734..eaffb9e27cf9 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -397,7 +397,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