* Fix escaping from perl to the shell.
authorPaul Smith <psmith@gnu.org>
Fri, 17 Sep 1999 04:20:45 +0000 (04:20 +0000)
committerPaul Smith <psmith@gnu.org>
Fri, 17 Sep 1999 04:20:45 +0000 (04:20 +0000)
tests/run_make_tests.pl

index 4130b3d..70b1cf8 100755 (executable)
@@ -155,7 +155,7 @@ sub set_more_defaults
    # Find the full pathname of Make.  For DOS systems this is more
    # complicated, so we ask make itself.
 
-   $make_path = `sh -c 'echo "all:;\@echo \$(MAKE)" | $make_path -f-'`;
+   $make_path = `sh -c 'echo "all:;\@echo \\\$(MAKE)" | $make_path -f-'`;
    chop $make_path;
    print "Make\t= `$make_path'\n" if $debug;