Fixed errors calling executables in the test suite helper.

This commit is contained in:
依瑪貓 2022-03-19 21:46:42 +08:00
parent b562a07251
commit ce9a1fde0e

View File

@ -223,7 +223,7 @@ sub read_file($) {
} else {
my ($PH, $CMD);
$CMD = where_is "bzip2";
$CMD = "bzip2 -cdf \"$file\"";
$CMD = "\"$CMD\" -cdf \"$file\"";
open $PH, "$CMD |" or die this_file . ": $CMD: $!";
$content = join "", <$PH>;
close $PH or die this_file . ": $CMD: $!";