mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-02-10 15:33:34 +00:00
* tetss/run_make_test.pl: Avoid 'sh -c' for Windows portability.
This commit is contained in:
parent
f0182df865
commit
7c202b50fa
1 changed files with 2 additions and 2 deletions
|
@ -436,7 +436,7 @@ sub set_more_defaults
|
||||||
|
|
||||||
my $redir = '2>&1';
|
my $redir = '2>&1';
|
||||||
$redir = '' if os_name eq 'VMS';
|
$redir = '' if os_name eq 'VMS';
|
||||||
$string = `sh -c "$make_path -f null.mk $redir"`;
|
$string = `$make_path -f null.mk $redir`;
|
||||||
if ($string =~ /(.*): \*\*\* No targets\. Stop\./) {
|
if ($string =~ /(.*): \*\*\* No targets\. Stop\./) {
|
||||||
$make_name = $1;
|
$make_name = $1;
|
||||||
}
|
}
|
||||||
|
@ -485,7 +485,7 @@ sub set_more_defaults
|
||||||
$purify_errors = 0;
|
$purify_errors = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$string = `sh -c "$make_path -j 2 -f null.mk $redir"`;
|
$string = `$make_path -j 2 -f null.mk $redir`;
|
||||||
if ($string =~ /not supported/) {
|
if ($string =~ /not supported/) {
|
||||||
$parallel_jobs = 0;
|
$parallel_jobs = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue