8223998: Missing MakeDir in ExecuteWithLog

Reviewed-by: tbell, erikj
This commit is contained in:
Magnus Ihse Bursie 2019-10-17 10:35:18 +02:00
parent 6e08f8434c
commit 6147018a0f

View File

@ -564,8 +564,8 @@ endif
# 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)? && \