diff options
Diffstat (limited to 'scripts/training/absolutize_moses_model.pl')
-rwxr-xr-x | scripts/training/absolutize_moses_model.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/training/absolutize_moses_model.pl b/scripts/training/absolutize_moses_model.pl index 1b485a01f..99efafe8e 100755 --- a/scripts/training/absolutize_moses_model.pl +++ b/scripts/training/absolutize_moses_model.pl @@ -98,7 +98,7 @@ sub ensure_absolute { my $target = shift; my $originfile = shift; - my $cwd = `pawd`; + my $cwd = `pawd 2> /dev/null`; $cwd = `pwd` if ! defined $cwd; # not everyone has pawd! die "Failed to absolutize $target. Failing to get cwd!" if ! defined $cwd; chomp $cwd; |