mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 05:57:59 +01:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user