From: Aaron S. Hawley Date: Sun, 28 Feb 2016 03:01:24 +0000 (-0800) Subject: Don't make assumptions about mkdir. (Bug#22822) X-Git-Tag: emacs-26.0.90~2447 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b829c9e15b244e12a98e5dc75c8009d55b60bfab;p=emacs.git Don't make assumptions about mkdir. (Bug#22822) * test/Makefile.in (MKDIR_P): New, set by configure. (%.log): Use MKDIR_P. --- diff --git a/test/Makefile.in b/test/Makefile.in index b5954dfc519..a5755fd2259 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -33,6 +33,8 @@ SHELL = @SHELL@ srcdir = @srcdir@ VPATH = $(srcdir) +MKDIR_P = @MKDIR_P@ + SEPCHAR = @SEPCHAR@ # We never change directory before running Emacs, so a relative file @@ -110,7 +112,7 @@ endif fi; \ echo Testing $$loadfile; \ stat=OK ; \ - mkdir --parents $(dir $@) ; \ + ${MKDIR_P} $(dir $@) ; \ $(emacs) -l ert -l $$loadfile \ --eval "(ert-run-tests-batch-and-exit ${SELECTOR_ACTUAL})" ${WRITE_LOG}