Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphikoehn <pkoehn@inf.ed.ac.uk>2013-10-10 13:12:56 +0400
committerphikoehn <pkoehn@inf.ed.ac.uk>2013-10-10 13:12:56 +0400
commit75e007d0f36ec794e5a65ae05085b5a8dc70ed46 (patch)
tree41e85ca64910b0aaa7784918c640ef5f3084d881 /scripts/ems/support/substitute-filtered-tables-and-weights.perl
parenta7d462cda6228dc6925d032d119f9e6a9c1f5df2 (diff)
minor fixes
Diffstat (limited to 'scripts/ems/support/substitute-filtered-tables-and-weights.perl')
-rwxr-xr-xscripts/ems/support/substitute-filtered-tables-and-weights.perl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/ems/support/substitute-filtered-tables-and-weights.perl b/scripts/ems/support/substitute-filtered-tables-and-weights.perl
index 886408125..3a135b44e 100755
--- a/scripts/ems/support/substitute-filtered-tables-and-weights.perl
+++ b/scripts/ems/support/substitute-filtered-tables-and-weights.perl
@@ -30,3 +30,5 @@ $cmd = "$RealBin/substitute-weights.perl $tempPath $tunedPath $outPath ";
print STDERR "cmd=$cmd \n";
system($cmd);
+unlink($tempPath) or warn "ERROR: could not delete $tempPath: $!";
+