diff options
| author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-05-21 16:02:04 +0200 |
|---|---|---|
| committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-05-21 16:02:04 +0200 |
| commit | 89d8823223cd5eff17e0d9a037e11effac527822 (patch) | |
| tree | 59d5e37cae3da4793e3beafd765a6ab3998f298f | |
| parent | 0873c83dc5a1e1bbc2b98d7a5c45f303538ee0d1 (diff) | |
| download | kde-89d8823223cd5eff17e0d9a037e11effac527822.tar.gz kde-89d8823223cd5eff17e0d9a037e11effac527822.tar.bz2 kde-89d8823223cd5eff17e0d9a037e11effac527822.zip | |
[eclasses] Enable all linguas if LINGUAS variable is unset.
| -rw-r--r-- | eclass/kde4-functions.eclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass index b33f649f2bc..740c580d48e 100644 --- a/eclass/kde4-functions.eclass +++ b/eclass/kde4-functions.eclass @@ -122,6 +122,8 @@ done enable_selected_linguas() { local lingua sr_mess wp + # if there is no lingas defined we enable everything + [[ ${LINGUAS:?"FALSE"} = FALSE ]] && return # ebuild overridable linguas directory definition KDE_LINGUAS_DIR=${KDE_LINGUAS_DIR:="${S}/po"} cd "${KDE_LINGUAS_DIR}" || die "wrong linguas dir specified" |
