Currently targets fail if user's login shell isn't compatible with
POSIX (e.g. csh, tcsh). So explicitly set SHELL in makefile so targets
succeed in such case too.
---
 makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/makefile b/makefile
index 51b94def..71761e73 100644
--- a/makefile
+++ b/makefile
@@ -9,6 +9,14 @@
 .NOTPARALLEL:
 .WAIT: # Luckily BSD make supports specifying this as target, too
 
+# Explicitly set SHELL so targets succeed even if user's login shell
+# isn't compatible with POSIX (e,g. csh, tcsh)
+# User still can use other shell as following
+#
+# make SHELL=/bin/bash all
+#
+SHELL=/bin/sh
+
 # These are targets of make-emerge.sh
 CWDDIR=
 TOPDIR=
-- 
2.29.2

Reply via email to