mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Set SHELL=/bin/sh for macOS in Makefiles
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -26,6 +26,7 @@ The following are the changes from calc version 2.14.0.11 to date:
|
||||
Fixed depend rule for custom/Makefile.
|
||||
|
||||
Fixed how Makefile variable SHELL is set on macOS vs. linux.
|
||||
Using /bin/sh on macOS due to how zsh treats globs by default.
|
||||
|
||||
|
||||
The following are the changes from calc version 2.14.0.9 to 2.14.0.10:
|
||||
|
6
Makefile
6
Makefile
@@ -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
|
||||
|
@@ -48,15 +48,15 @@
|
||||
#
|
||||
# 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
|
||||
#
|
||||
SHELL= /bin/bash
|
||||
#if 0 /* start of skip for non-Gnu makefiles */
|
||||
ifeq ($(target),Darwin)
|
||||
SHELL:= /bin/zsh
|
||||
SHELL:= /bin/sh
|
||||
endif
|
||||
#endif /* end of skip for non-Gnu makefiles */
|
||||
|
||||
|
Reference in New Issue
Block a user