From 6721ca445b3b7cbfae0714d7680c5d0b8504cf60 Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 4 Feb 2005 00:43:42 +0000 Subject: src2nbcompat uses \n backreferences in gensub, which isn't supported in the NetBSD 2.0 awk, so make explicit that we're using gawk. --- pkgtools/libnbcompat/files/src2nbcompat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/libnbcompat/files/src2nbcompat b/pkgtools/libnbcompat/files/src2nbcompat index d69b079c0f4..ddfceff182d 100755 --- a/pkgtools/libnbcompat/files/src2nbcompat +++ b/pkgtools/libnbcompat/files/src2nbcompat @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: src2nbcompat,v 1.7 2004/08/20 23:10:32 jlam Exp $ +# $NetBSD: src2nbcompat,v 1.8 2005/02/04 00:43:42 jlam Exp $ # # Copyright (c) 2003 The NetBSD Foundation, Inc. # All rights reserved. @@ -92,7 +92,7 @@ copy_file() # header inclusion. Protect all system headers with # "#if HAVE_FOO_H ... #endif" guards. # - awk ' \ + gawk ' \ BEGIN { config = 0; nbcompat = 0 } \ /^#[ ]*if[ ]+HAVE_NBTOOL_CONFIG_H/ { \ if (config == 0) { \ -- cgit v1.2.3