From 245c51994b8658e7c394f3d708b330bae26f2bb6 Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Fri, 20 May 2005 21:48:45 +0000 Subject: get rid of a spurious %%SUBDIR%% which found its way into the generated category README.html --- mk/scripts/genreadme.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/scripts') diff --git a/mk/scripts/genreadme.awk b/mk/scripts/genreadme.awk index 250dbb3d8a0..0edd1a13131 100755 --- a/mk/scripts/genreadme.awk +++ b/mk/scripts/genreadme.awk @@ -1,5 +1,5 @@ #!/usr/bin/awk -f -# $NetBSD: genreadme.awk,v 1.17 2005/05/20 04:39:44 dmcmahill Exp $ +# $NetBSD: genreadme.awk,v 1.18 2005/05/20 21:48:45 dmcmahill Exp $ # # Copyright (c) 2002, 2003, 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -531,7 +531,7 @@ END { line = $0 if( $0 ~/%%SUBDIR%%/ ) { - gsub(/%%SUBDIR%%/, ""); + gsub(/%%SUBDIR%%/, "", line); while((getline < pkgs_file) > 0) { gsub(/README.html/, readme_name); print >> readme; -- cgit v1.2.3