]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* tetss/run_make_test.pl: Avoid 'sh -c' for Windows portability.
authorPaul Smith <psmith@gnu.org>
Tue, 3 Sep 2019 04:09:51 +0000 (00:09 -0400)
committerPaul Smith <psmith@gnu.org>
Sat, 7 Sep 2019 22:27:26 +0000 (18:27 -0400)
tests/run_make_tests.pl

index 7e969a9c88d72578cfd7a24d732b28492810b3bc..f49f1d7e1b1364910f6d3446a102ebbff6cf519a 100644 (file)
@@ -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;
    }