WITH_META_MODE: End each ERROR_CMD CMD line with ';'.
This makes it easier to debug multi-line command failures. X-MFC-With: r319862 MFC after: 1 week Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
488ac365fc
commit
df1398b14a
@ -13,7 +13,7 @@ MAKE_PRINT_VAR_ON_ERROR += \
|
||||
.MAKE.MODE
|
||||
.endif
|
||||
|
||||
_ERROR_CMD_EXEC= ${sed -n '/^CMD/s,^CMD ,,p' ${.ERROR_META_FILE}:L:sh}
|
||||
_ERROR_CMD_EXEC= ${sed -n '/^CMD/s,^CMD \(.*\),\1;,p' ${.ERROR_META_FILE}:L:sh}
|
||||
_ERROR_CMD= ${!empty(.ERROR_META_FILE):?${_ERROR_CMD_EXEC}:.PHONY}
|
||||
MAKE_PRINT_VAR_ON_ERROR+= \
|
||||
_ERROR_CMD \
|
||||
|
Loading…
x
Reference in New Issue
Block a user