From 1007042ca0a748f75f8e61c89e0278df55c8f390 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 20 Dec 2009 10:39:32 +0100 Subject: check for MirBSD ksh --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d3130388d..093fb73e2 100644 --- a/Makefile +++ b/Makefile @@ -153,6 +153,10 @@ NO_ERROR=0 echo "GNU bash needs to be installed."; \ exit 1; \ fi + @if ! mksh -c 'echo $$KSH_VERSION' 2>&1 | fgrep 'MIRBSD' >/dev/null 2>&1; then \ + echo "MirBSD ksh (mksh) needs to be installed."; \ + exit 1; \ + fi @if test x"$$(umask 2>/dev/null | sed 's/00*22/OK/')" != x"OK"; then \ echo >&2 Error: you must build with umask 022, sorry.; \ exit 1; \ -- cgit v1.2.3