diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 377d2c566734a..eaffb9e27cf94 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