diff options
Diffstat (limited to 'solenv')
-rwxr-xr-x | solenv/bin/ooinstall | 15 | ||||
-rw-r--r-- | solenv/inc/postset.mk | 2 |
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))) |