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:
Diffstat (limited to 'scripts/generic/moses-parallel.pl')
-rwxr-xr-xscripts/generic/moses-parallel.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generic/moses-parallel.pl b/scripts/generic/moses-parallel.pl
index 0a3354183..d1840fc55 100755
--- a/scripts/generic/moses-parallel.pl
+++ b/scripts/generic/moses-parallel.pl
@@ -965,7 +965,7 @@ sub safesystem {
sub getPwdCmd(){
my $pwdcmd="pwd";
my $a;
- chomp($a=`which pawd | head -1 | awk '{print $1}'`);
+ chomp($a=`which pawd 2> /dev/null | head -1 | awk '{print $1}'`);
if ($a && -e $a){ $pwdcmd=$a; }
return $pwdcmd;
}