From af5c57014383bd3266a433514601c1740754f957 Mon Sep 17 00:00:00 2001 From: tg Date: Sat, 30 Jun 2007 19:48:04 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=A2=20bugfix=20=E2=80=93=20"printf=20%d?= =?UTF-8?q?=20'(1)'"=20is=20a=20syntax=20error=20too,=20enhance=20characte?= =?UTF-8?q?r=20class=20=E2=80=A2=20speed=20up=20=E2=80=93=20I=20don't=20wo?= =?UTF-8?q?rry=20about=20embedded=20control=20characters=20in=20the=20sour?= =?UTF-8?q?ce,=20=20=20as=20jupp(1)=20handles=20these=20just=20fine=20[htt?= =?UTF-8?q?p://mirbsd.de/jupp]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Build.sh b/Build.sh index 2518f22..ae64c0d 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $MirOS: src/bin/mksh/Build.sh,v 1.217 2007/06/23 20:51:21 tg Exp $ +# $MirOS: src/bin/mksh/Build.sh,v 1.218 2007/06/30 19:48:04 tg Exp $ #- # Environment used: CC CFLAGS CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS # CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NEED_MKNOD MKSH_NOPWNAM @@ -28,9 +28,9 @@ if test -n "${ZSH_VERSION+x}" && (emulate sh) >/dev/null 2>&1; then fi if test -t 1; then - bi=`printf '\033[1m'` - ui=`printf '\033[4m'` - ao=`printf '\033[0m'` + bi='' + ui='' + ao='' else bi= ui= @@ -774,7 +774,7 @@ if test 0 = $HAVE_SYS_SIGNAME; then vq "$CC $CPPFLAGS -E -" | grep mksh_cfg: | \ sed 's/^mksh_cfg:[ ]*\([0-9x ()+-]*\).*$/\1/'` case $NSIG in - *[\ +-]*) NSIG=`awk "BEGIN { print $NSIG }"` ;; + *[\ \(\)+-]*) NSIG=`awk "BEGIN { print $NSIG }"` ;; esac NSIG=`printf %d "$NSIG" 2>/dev/null` test $h = 1 && printf "NSIG=$NSIG ... "