diff --git a/Build.sh b/Build.sh index 169fcec..b3a9586 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $MirOS: src/bin/mksh/Build.sh,v 1.167 2007/03/19 22:58:19 tg Exp $ +# $MirOS: src/bin/mksh/Build.sh,v 1.168 2007/04/01 01:48:31 tg Exp $ #- # Environment used: CC CFLAGS CPP CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS # CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NEED_MKNOD MKSH_NOPWNAM @@ -21,6 +21,11 @@ if test -d /usr/xpg4/bin/. >/dev/null 2>&1; then export PATH fi +if test -n "${ZSH_VERSION+x}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: +fi + if test -t 1; then bi=`printf '\033[1m'` ui=`printf '\033[4m'`