summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-12-12 10:07:35 +0100
committerAndras Timar <atimar@suse.com>2012-12-14 12:12:39 +0100
commit49b9318873151d25478095bd66ef1cd40c86ba67 (patch)
tree80e2b52b47e1e24498243fca4606a66e95467a3e /solenv
parentc0476ad5b0aa8758603b4a2b9f6f8feed130b1b4 (diff)
Make KeyID (qtz) work again
Change-Id: I67b2ce4ae647150aeace72c542a5838940d2c058
Diffstat (limited to 'solenv')
-rwxr-xr-xsolenv/bin/ooinstall15
-rw-r--r--solenv/inc/postset.mk2
2 files changed, 3 insertions, 14 deletions
diff --git a/solenv/bin/ooinstall b/solenv/bin/ooinstall
index a4ce6ced1906..3b086c633348 100755
--- a/solenv/bin/ooinstall
+++ b/solenv/bin/ooinstall
@@ -91,19 +91,8 @@ $ENV{LOCAL_COMMON_OUT} = $ENV{OUT};
$ENV{DEFAULT_TO_ENGLISH_FOR_PACKING} = 1;
my @larr;
-$langs=$ENV{WITH_LANG};
-$langs='en-US' if $langs eq '';
-if ($langs eq 'ALL') {
- opendir(DIR,$ENV{L10N_MODULE} . "/source");
- @larr = readdir(DIR);
- @larr = grep { $_ ne '.' } @larr;
- @larr = grep { $_ ne '..' } @larr;
- @larr = (@larr,"en-US");
- closedir(DIR);
-}
-else {
- @larr = grep { $_ ne '' } split(/ /, $langs);
-}
+$langs=$ENV{WITH_LANG_LIST};
+@larr = grep { $_ ne '' } split(/ /, $langs);
$langs = join (",", @larr);
$destdir='';
diff --git a/solenv/inc/postset.mk b/solenv/inc/postset.mk
index e9632ddc3528..0762011a546e 100644
--- a/solenv/inc/postset.mk
+++ b/solenv/inc/postset.mk
@@ -23,4 +23,4 @@ defaultlangiso=en-US
# Complete list of all supported localizations (ISO codes)
.INCLUDE : langlist.mk
-alllangiso=$(strip $(defaultlangiso) $(subst,$(defaultlangiso), $(uniq $(subst,ALL,$(completelangiso) $(WITH_LANG)))))
+alllangiso=$(strip $(defaultlangiso) $(subst,$(defaultlangiso), $(WITH_LANG_LIST)))