From 4a22726eab12c75049bcb5943849e31200e4be4e Mon Sep 17 00:00:00 2001 From: kim Date: Sun, 18 Feb 2001 18:38:18 +0000 Subject: [PATCH] Use the errno.h and signal.h passed in on the command line. --- usr.bin/ktruss/makeerrnos.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/ktruss/makeerrnos.sh b/usr.bin/ktruss/makeerrnos.sh index bdd8fdf24313..1b9e64e95386 100755 --- a/usr.bin/ktruss/makeerrnos.sh +++ b/usr.bin/ktruss/makeerrnos.sh @@ -1,6 +1,6 @@ #! /bin/sh # -# $NetBSD: makeerrnos.sh,v 1.2 2001/01/16 02:46:25 cgd Exp $ +# $NetBSD: makeerrnos.sh,v 1.3 2001/02/18 18:38:18 kim Exp $ if [ $# -ne 3 ]; then echo "usage: makeerrnos.sh errno.h signal.h output" @@ -20,7 +20,7 @@ cat <<__EOF__ > $CFILE struct systab errnos[] = { __EOF__ -cat ${DESTDIR}/usr/include/sys/errno.h | ${CPP} ${CPPFLAGS} -dM | +cat ${ERRNOH} | ${CPP} ${CPPFLAGS} -dM | awk ' /^#[ ]*define[ ]*E[A-Z0-9]*[ ]*[0-9-][0-9]*[ ]*.*/ { for (i = 1; i <= NF; i++) @@ -44,7 +44,7 @@ cat <<__EOF__ >> $CFILE struct systab signals[] = { __EOF__ -cat ${DESTDIR}/usr/include/sys/signal.h | ${CPP} ${CPPFLAGS} -dM | +cat ${SIGNALH} | ${CPP} ${CPPFLAGS} -dM | awk ' /^#[ ]*define[ ]*S[A-Z0-9]*[ ]*[0-9-][0-9]*[ ]*.*/ { for (i = 1; i <= NF; i++)