Kaydet (Commit) c893d431 authored tarafından Robert Nagy's avatar Robert Nagy

fix the list of languages and remove the unused wanted function

Let's try our best to create a good list of langauges in a format
of lang1,lang2.
Also remove the wanted function which is not used since
the baab40f5646b63ff51e7cb9c5aaac873066d46fe commit.
üst 12fff8ca
......@@ -14,18 +14,6 @@ use Cwd;
$path = '';
$do_link = 0;
sub wanted {
my $path_to_unopkg="$path/program";
if ( $^O =~ /darwin/i )
{
$path_to_unopkg="$path/OpenOffice.org.app/Contents/MacOS";
}
-f $_
&& /.*\.oxt$/
&& system ( "LD_LIBRARY_PATH='' $path_to_unopkg/unopkg add -v --shared $File::Find::name" )
&& die "Cannot install $_ extension!";
}
( $^O =~ /openbsd/i ) || ( $^O =~ /darwin/i ) || ( -f "/proc/meminfo" ) || die "The installer cannot work without javaldx running, which requires /proc to be mounted";
# Workaround for system Mozilla
......@@ -77,10 +65,8 @@ $ENV{DEFAULT_TO_ENGLISH_FOR_PACKING} = 1;
$langs=$ENV{WITH_LANG};
$langs='en-US' if $langs eq '';
$langs =~ s/\s+/,/g;
# FIXME: hack... we get a useless , at the end which makes it being e.g. zu#
# which breaks the build...
$langs =~ s/,'/'/;
my @larr = grep { $_ ne '' } split(/ /, $langs);
$langs = join (",", @larr);
$destdir='';
if ( defined $ENV{OODESTDIR} &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment