summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-05-10 19:22:34 +0200
committerIvo Hinkelmann <ihi@openoffice.org>2010-05-10 19:22:34 +0200
commitde0b00d03dd81bc77b65dd310268b7e523e62630 (patch)
treea221a3b70deaf513960b4eba700a98d01bf96a42 /l10ntools
parent0f641fbfd20f06811ec4bdd886ff7ab16d058375 (diff)
removed cygwin_path / added mkdir
Diffstat (limited to 'l10ntools')
-rwxr-xr-xl10ntools/scripts/localize.pl8
1 files changed, 5 insertions, 3 deletions
diff --git a/l10ntools/scripts/localize.pl b/l10ntools/scripts/localize.pl
index a6a370385f21..47f4e91d8b7f 100755
--- a/l10ntools/scripts/localize.pl
+++ b/l10ntools/scripts/localize.pl
@@ -284,9 +284,11 @@ sub write_sdf
foreach my $lang( keys( %{ $string_hash } ) )
{
my @sdf_file;
+ next , if( $lang eq "en-US" );
+
+ mkdir $l10n_file."/$lang";
+ my $current_l10n_file = $l10n_file."/$lang/localize.sdf";
- # mkdir!!!!
- my $current_l10n_file = $WIN eq "TRUE" ? $l10n_file."\\$lang\\localize.sdf" : $l10n_file."/$lang/localize.sdf";
print "Writing '$current_l10n_file'\n";
if( open DESTFILE , "< $current_l10n_file" ){
@@ -393,7 +395,7 @@ sub merge_gsicheck{
close ( $TMPHANDLE );
$command = "$ENV{WRAPCMD} " if( $ENV{WRAPCMD} );
- $command .= fix_cygwin_path("$ENV{SOLARVER}/$ENV{INPATH}/bin/gsicheck");
+ $command .= "$ENV{SOLARVER}/$ENV{INPATH}/bin/gsicheck";
my $errfile = $sdffile.".err";
$command .= " -k -c -wcf $tmpfile -wef $errfile -l \"\" $sdffile";