diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-20 10:39:32 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-20 10:39:32 +0100 |
commit | 1007042ca0a748f75f8e61c89e0278df55c8f390 (patch) | |
tree | 8d5354f206f38c819bb67902e8acf4b7029ccbfa | |
parent | 54d9c42f67b6cc72601ca73bd37563ba078e81b7 (diff) |
check for MirBSD ksh
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; \ |