META_MODE: Show .ERROR_CMD in error.
This uses a hack to get the CMD from the meta file rather than .ERROR_CMD since bmake currently blanks the value for non-jobs mode. Reviewed by: sjg (indirectly) MFC after: 1 week Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
659ce4bc88
commit
55bd2850e7
@ -13,7 +13,9 @@ MAKE_PRINT_VAR_ON_ERROR += \
|
||||
.MAKE.MODE
|
||||
.endif
|
||||
|
||||
_ERROR_CMD=${sed -n '/^CMD/s,^CMD ,,p' ${.ERROR_META_FILE}:L:sh}
|
||||
MAKE_PRINT_VAR_ON_ERROR+= \
|
||||
_ERROR_CMD \
|
||||
.CURDIR \
|
||||
.MAKE \
|
||||
.OBJDIR \
|
||||
|
Loading…
Reference in New Issue
Block a user