mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
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:
parent
7ead8f459e
commit
eec4b399b5
1 changed files with 1 additions and 1 deletions
|
@ -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'"
|
||||||
|
|
Loading…
Reference in a new issue