mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
better detection of pigz
This commit is contained in:
parent
eb37437d09
commit
95435f2a2e
@ -405,8 +405,8 @@ else {
|
||||
$SORT_EXEC = 'sort';
|
||||
}
|
||||
|
||||
my $GZIP_EXEC; # = which("pigz");
|
||||
if(-f "/usr/bin/pigz") {
|
||||
my $GZIP_EXEC;
|
||||
if(`which pigz`) {
|
||||
$GZIP_EXEC = 'pigz';
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user