Skip to content

Commit fe98a68

Browse files
committed
Fix make invocation
1 parent 54c113b commit fe98a68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.make/main.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ ifeq ($(shell echo $(HOST_PLATFORM) | tr A-Z a-z), batch)
221221
# assuming that command grouping is not needed in this case, so we just print the commands
222222
set -o pipefail; \
223223
if commands=$$( \
224-
$(MAKE) -n EVAL=": xxx" SKIP_GROUP_EVAL_TARGET=true $(MAKECMDGOALS) >$(TARGET_DIR)/commands && \
224+
$(MAKE) --no-print-directory -n EVAL=": xxx" SKIP_GROUP_EVAL_TARGET=true $(MAKECMDGOALS) >$(TARGET_DIR)/commands && \
225225
cat $(TARGET_DIR)/commands \
226226
| perl -e '$$take = 1; \
227227
while (<>) { \
@@ -242,7 +242,7 @@ ifeq ($(shell echo $(HOST_PLATFORM) | tr A-Z a-z), batch)
242242
else
243243
set -o pipefail; \
244244
if commands=$$( \
245-
$(MAKE) -n EVAL=": xxx" SKIP_GROUP_EVAL_TARGET=true $(MAKECMDGOALS) >$(TARGET_DIR)/commands && \
245+
$(MAKE) --no-print-directory -n EVAL=": xxx" SKIP_GROUP_EVAL_TARGET=true $(MAKECMDGOALS) >$(TARGET_DIR)/commands && \
246246
cat $(TARGET_DIR)/commands \
247247
| perl -e '$$take = 1; \
248248
while (<>) { \

0 commit comments

Comments
 (0)