diff options
author | Carl Dong <contact@carldong.me> | 2020-12-11 10:20:58 -0500 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-02-03 12:10:02 -0500 |
commit | b3bdff42b5a7b4b956da700b187a7254daac54ae (patch) | |
tree | ef7983396daaffbe44accfc2f7e663bce8046499 /depends | |
parent | f72d80b07af8ecbb2f9df1e87344eb465186f19d (diff) |
build: Proper quoting for var printing targets
Previously, if the value contained syntax that was meaningful to make,
the printing would fail. Quoting properly avoids this.
Diffstat (limited to 'depends')
-rw-r--r-- | depends/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/Makefile b/depends/Makefile index 596a46d4a2..aa90ea81d9 100644 --- a/depends/Makefile +++ b/depends/Makefile @@ -2,7 +2,7 @@ # Pattern rule to print variables, e.g. make print-top_srcdir print-%: - @echo $* = $($*) + @echo '$*' = '$($*)' # When invoking a sub-make, keep only the command line variable definitions # matching the pattern in the filter function. |