diff options
author | Barry Haddow <barry.haddow@gmail.com> | 2013-05-14 11:54:29 +0400 |
---|---|---|
committer | Barry Haddow <barry.haddow@gmail.com> | 2013-05-14 11:54:29 +0400 |
commit | a4ce50f2fb154f2c4f86d9ada284ea76b716eedd (patch) | |
tree | 9d407074cfa5294674102809ecbaef1d522aaecd /scripts/training | |
parent | 8dea11606411bbf6280930d7a2ffff888aca503e (diff) |
Fix for cygwin
Diffstat (limited to 'scripts/training')
-rwxr-xr-x | scripts/training/train-model.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/training/train-model.perl b/scripts/training/train-model.perl index 503cb0a46..da4590932 100755 --- a/scripts/training/train-model.perl +++ b/scripts/training/train-model.perl @@ -446,7 +446,7 @@ if ($STEPS[9]) { die "ERROR: Filename is not absolute: $filename" unless file_name_is_absolute $filename; die "ERROR: Language model file not found or empty: $filename" - if ! -s $filename; + if ! -e $filename; push @___LM, [ $f, $order, $filename, $type ]; } } |