changeset 56644:11a574b352d0

8223998: Missing MakeDir in ExecuteWithLog Reviewed-by: tbell, erikj
author ihse
date Thu, 17 Oct 2019 10:35:18 +0200
parents 5b7a967da646
children e3618c902d17
files make/common/MakeBase.gmk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/MakeBase.gmk	Wed Oct 16 17:03:40 2019 +0200
+++ b/make/common/MakeBase.gmk	Thu Oct 17 10:35:18 2019 +0200
@@ -564,8 +564,8 @@
 # Param 1 - The path to base the name of the log file / command line file on
 # Param 2 - The command to run
 ExecuteWithLog = \
-  $(call LogCmdlines, Exececuting: [$(strip $2)]) \
-  $(call MakeDir, $(dir $(strip $1))) \
+  $(call LogCmdlines, Executing: [$(strip $2)]) \
+  $(call MakeDir, $(dir $(strip $1)) $(MAKESUPPORT_OUTPUTDIR)/failure-logs) \
   $(call WriteFile, $2, $(strip $1).cmdline) \
   ( $(RM) $(strip $1).log && $(strip $2) > >($(TEE) -a $(strip $1).log) 2> >($(TEE) -a $(strip $1).log >&2) || \
       ( exitcode=$(DOLLAR)? && \