Use awk to run bhnd's awk script, to allow noexec src dir

PR:		209435
Submitted by:	Landon Fuller <landonf@landonf.org>
Differential Revision:	https://reviews.freebsd.org/D6312
This commit is contained in:
emaste 2016-05-13 18:56:56 +00:00
parent 151759b71b
commit 2cdbb70fc0

View File

@ -9,4 +9,4 @@ BHND_TOOLDIR="$(dirname $0)/"
LC_ALL=C; export LC_ALL
"$BHND_TOOLDIR/nvram_map_gen.awk" $@
"${AWK:-/usr/bin/awk}" -f "$BHND_TOOLDIR/nvram_map_gen.awk" $@