Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/kdump Use envariable AWK



details:   https://anonhg.NetBSD.org/src/rev/9ab17827521c
branches:  trunk
changeset: 555274:9ab17827521c
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Nov 13 05:52:12 2003 +0000

description:
Use envariable AWK

diffstat:

 usr.bin/kdump/mksiginfos |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 56984bf4599b -r 9ab17827521c usr.bin/kdump/mksiginfos
--- a/usr.bin/kdump/mksiginfos  Thu Nov 13 03:45:01 2003 +0000
+++ b/usr.bin/kdump/mksiginfos  Thu Nov 13 05:52:12 2003 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: mksiginfos,v 1.1 2003/09/19 22:49:02 christos Exp $
+#      $NetBSD: mksiginfos,v 1.2 2003/11/13 05:52:12 matt Exp $
 #
 # Copyright (c) 2003 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -35,7 +35,10 @@
 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # POSSIBILITY OF SUCH DAMAGE.
 
-awk '
+# allow AWK to be overriden
+awk=${AWK:-awk}
+
+$awk '
 BEGIN {
        print "/* Automatically generated file; do not edit */";
        print "#include <stdio.h>";



Home | Main Index | Thread Index | Old Index