freebsd-dev/sys/dev/bhnd/tools/nvram_map_gen.sh
Ed Maste 4de3a46c66 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
2016-05-13 18:56:56 +00:00

13 lines
230 B
Bash
Executable File

#!/bin/sh
# Use C locale to ensure AWK string comparisons always produce
# a stable sort order.
# $FreeBSD$
BHND_TOOLDIR="$(dirname $0)/"
LC_ALL=C; export LC_ALL
"${AWK:-/usr/bin/awk}" -f "$BHND_TOOLDIR/nvram_map_gen.awk" $@