From c822cbedd8b1bab1b09695d7646be6638090b809 Mon Sep 17 00:00:00 2001 From: tg Date: Thu, 11 Jan 2007 00:38:37 +0000 Subject: [PATCH] oops, match hex numbers; seen while looking at ankon's (FreeBSD) problem --- Build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build.sh b/Build.sh index 07f01ce..f0ecc87 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $MirOS: src/bin/mksh/Build.sh,v 1.84 2006/12/11 19:58:37 tg Exp $ +# $MirOS: src/bin/mksh/Build.sh,v 1.85 2007/01/11 00:38:37 tg Exp $ #- # Environment: CC, CFLAGS, CPPFLAGS, LDFLAGS, LIBS, NROFF @@ -161,7 +161,7 @@ if test x"$sigseen" = x:; then while read name; do ( echo '#include '; echo "mksh_cfg: SIG$name" ) | \ $CC $CPPFLAGS -E - | grep mksh_cfg: | \ - sed 's/^mksh_cfg: \([0-9]*\).*$/\1:'$name/ + sed 's/^mksh_cfg: \([0-9x]*\).*$/\1:'$name/ done | grep -v '^:' | while IFS=: read nr name; do nr=`printf %d "$nr" 2>&-` test $nr -gt 0 && test $nr -lt $NSIG || continue