summaryrefslogtreecommitdiff
path: root/l10ntools/scripts/fast_merge.pl
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/scripts/fast_merge.pl')
-rw-r--r--l10ntools/scripts/fast_merge.pl10
1 files changed, 2 insertions, 8 deletions
diff --git a/l10ntools/scripts/fast_merge.pl b/l10ntools/scripts/fast_merge.pl
index e2980fafddda..5dc63cf95d79 100644
--- a/l10ntools/scripts/fast_merge.pl
+++ b/l10ntools/scripts/fast_merge.pl
@@ -45,12 +45,8 @@ my $last_localize_file;
my $first_run = "1";
my $sdf_filename;
my $merge_dir;
-my $WIN;
my $state = "none";
-if ( defined $ENV{USE_SHELL} && $ENV{USE_SHELL} eq '4nt' ) { $WIN = 'TRUE'; }
-else { $WIN = ''; }
-
$SIG{INT} = 'inthandler';
$SIG{QUIT} = 'quithandler';
@@ -67,7 +63,6 @@ struct ( sdf_obj =>
parse_options();
my $lock_file = $merge_dir."/lock.mk";
-$lock_file =~ s/\//\\/g , if ( $WIN ) ;
acquire_lock();
read_sdf_file_names();
init();
@@ -247,10 +242,9 @@ sub make_paths
{
my $localizeFile = $merge_dir."\\".$current[ 0 ]->module."\\".$current[ 0 ]->file;
my $path = getDir( $localizeFile );
- if ( !$WIN ) { $path =~ s/\\/\//g; }
+ $path =~ s/\\/\//g;
- $localizeFile = $path."\\localize.sdf";
- if ( !$WIN ) { $localizeFile =~ s/\\/\//g; }
+ $localizeFile = $path."/localize.sdf";
return ( $path , $localizeFile );
}