forked from openkylin/platform_build
Fix dump-vars output to handle quotes.
Bug: 132766811 Test: treehugger Change-Id: I4c054343cd11a089d93b7386b8d8ba04a7b6b77e
This commit is contained in:
parent
523362d544
commit
23a44f1b05
|
@ -27,6 +27,6 @@ ANDROID_CLANG_PREBUILTS := prebuilts/clang/host/$(HOST_PREBUILT_TAG)
|
||||||
.PHONY: dump-many-vars
|
.PHONY: dump-many-vars
|
||||||
dump-many-vars :
|
dump-many-vars :
|
||||||
@$(foreach v, $(DUMP_MANY_VARS),\
|
@$(foreach v, $(DUMP_MANY_VARS),\
|
||||||
echo "$(DUMP_VAR_PREFIX)$(v)='$($(v))'";)
|
printf "%s='%s'\n" '$(DUMP_VAR_PREFIX)$(v)' '$($(v))';)
|
||||||
|
|
||||||
endif # CALLED_FROM_SETUP
|
endif # CALLED_FROM_SETUP
|
||||||
|
|
Loading…
Reference in New Issue