We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06d11b0 + be0dbf3 commit 3ef8cb7Copy full SHA for 3ef8cb7
1 file changed
flow/scripts/variables.mk
@@ -222,7 +222,8 @@ print-%:
222
#
223
# We have to use $(file ...) because we want to be able
224
# to print variables that contain newlines.
225
- $(file >/tmp/print_tmp$$,$($*))
+ $(eval TEMP_FILE := $(shell mktemp /tmp/print_tmp.XXXXXX))
226
+ @$(file >$(TEMP_FILE),$($*))
227
@echo -n "$*: "
- @cat /tmp/print_tmp$$
228
- @rm /tmp/print_tmp$$
+ @cat $(TEMP_FILE)
229
+ @rm -f $(TEMP_FILE)
0 commit comments