From 8bfc69317875e624d30a912e48445ba086fc2897 Mon Sep 17 00:00:00 2001 From: tg Date: Thu, 11 Jan 2007 00:47:40 +0000 Subject: [PATCH] this double-backtick in double-backtick (SunOS /bin/sh) stuff looked waay too weird to me, use a temporary variable instead and make the two occurencies of the code look more alike --- Build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Build.sh b/Build.sh index eac191d..4c9a839 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $MirOS: src/bin/mksh/Build.sh,v 1.86 2007/01/11 00:44:08 tg Exp $ +# $MirOS: src/bin/mksh/Build.sh,v 1.87 2007/01/11 00:47:40 tg Exp $ #- # Environment: CC, CFLAGS, CPPFLAGS, LDFLAGS, LIBS, NROFF @@ -152,9 +152,10 @@ esac if test x"$sigseen" = x:; then $e Generating list of signal names - NSIG=`printf %d "\`(echo '#include ';echo mksh_cfg: NSIG) | \ + NSIG=`( echo '#include '; echo "mksh_cfg: NSIG" ) | \ $CC $CPPFLAGS -E - | grep mksh_cfg | \ - sed 's/^mksh_cfg: \([0-9x]*\).*$/\1/'\`" 2>&-` + sed 's/^mksh_cfg: \([0-9x]*\).*$/\1/'` + NSIG=`printf %d "$NSIG" 2>&-` test $NSIG -gt 1 || exit 1 echo '#include ' | $CC $CPPFLAGS -E -dD - | \ grep '[ ]SIG[A-Z0-9]*[ ]' | \