Set SHELL=/bin/sh for macOS in Makefiles

This commit is contained in:
Landon Curt Noll
2021-12-07 04:35:42 -08:00
parent faf40b7149
commit c54e2648dc
3 changed files with 7 additions and 6 deletions

View File

@@ -65,13 +65,13 @@ endif
#
# On some systems such as macOS, the bash shell is very
# far behind to the point where is cannot be depended on.
# On such systems, the zsh may be a much better alternative
# On such systems, the sh may be a much better alternative
# shell for this Makefile to use:
#
# SHELL= /bin/zsh
# SHELL= /bin/sh
#
ifeq ($(target),Darwin)
SHELL= /bin/zsh
SHELL= /bin/sh
else
SHELL= /bin/bash
endif