Fix accidental recursive invocation of make under BSD

The backticks in the cmake not installed error message were not
escaped, leading to accidental recursive invocation of `make`.
This commit is contained in:
Mahmoud Al-Qudsi 2018-06-30 20:23:23 -05:00
parent 7ead8f459e
commit eec4b399b5

View file

@ -4,7 +4,7 @@
.BEGIN: .BEGIN:
# test for cmake, which is the only requirement to be able to run this Makefile # test for cmake, which is the only requirement to be able to run this Makefile
# cmake will perform the remaining dependency tests on its own # cmake will perform the remaining dependency tests on its own
@which cmake >/dev/null 2>/dev/null || (echo "Please install cmake and then re-run the `make` command!" 1>&2 && false) @which cmake >/dev/null 2>/dev/null || (echo 'Please install cmake and then re-run the `make` command!' 1>&2 && false)
# Use ninja, if it is installed # Use ninja, if it is installed
_GENERATOR!=which ninja 2>/dev/null >/dev/null && echo Ninja || echo "'Unix Makefiles'" _GENERATOR!=which ninja 2>/dev/null >/dev/null && echo Ninja || echo "'Unix Makefiles'"