diff options
author | obrien <obrien@FreeBSD.org> | 2002-02-11 03:54:30 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-02-11 03:54:30 +0000 |
commit | f8980276695985e28e2419df3e6f5f4f3b3883ab (patch) | |
tree | 6f85f1b96e7579fa3634ee619fab9ce216d92281 /sys | |
parent | 7e8c393af1ae32a678d095a4f08de116686e5597 (diff) | |
download | FreeBSD-src-f8980276695985e28e2419df3e6f5f4f3b3883ab.zip FreeBSD-src-f8980276695985e28e2419df3e6f5f4f3b3883ab.tar.gz |
Allow one to specify the AWK used in the environment(commandline).
Gawk is blowing up when run natively on the sparc64 -- leading to totally
bogus kernel values (all "0x0"). Good ole BWK awk works fine however.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/genassym.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/genassym.sh b/sys/kern/genassym.sh index 5c33c6a..70ad69e 100644 --- a/sys/kern/genassym.sh +++ b/sys/kern/genassym.sh @@ -23,7 +23,7 @@ case $# in *) usage;; esac -${NM:='nm'} "$1" | awk ' +${NM:='nm'} "$1" | ${AWK:='awk'} ' / C .*sign$/ { sign = substr($1, length($1) - 3, 4) sub("^0*", "", sign) |