From 7c202b50fa76f2fa9809be15848ab4cbeb229af8 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Tue, 3 Sep 2019 00:09:51 -0400 Subject: [PATCH] * tetss/run_make_test.pl: Avoid 'sh -c' for Windows portability. --- tests/run_make_tests.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run_make_tests.pl b/tests/run_make_tests.pl index 7e969a9c..f49f1d7e 100644 --- a/tests/run_make_tests.pl +++ b/tests/run_make_tests.pl @@ -436,7 +436,7 @@ sub set_more_defaults my $redir = '2>&1'; $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\./) { $make_name = $1; } @@ -485,7 +485,7 @@ sub set_more_defaults $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/) { $parallel_jobs = 0; }