pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/scripts get rid of a spurious %%SUBDIR%% which foun...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e7195333d6d0
branches:  trunk
changeset: 494204:e7195333d6d0
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Fri May 20 21:48:45 2005 +0000

description:
get rid of a spurious %%SUBDIR%% which found its way into the generated category README.html

diffstat:

 mk/scripts/genreadme.awk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 7443d85647b2 -r e7195333d6d0 mk/scripts/genreadme.awk
--- a/mk/scripts/genreadme.awk  Fri May 20 21:36:05 2005 +0000
+++ b/mk/scripts/genreadme.awk  Fri May 20 21:48:45 2005 +0000
@@ -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 @@
                                line = $0
 
                                if( $0 ~/%%SUBDIR%%/ ) {
-                                   gsub(/%%SUBDIR%%/, "");
+                                   gsub(/%%SUBDIR%%/, "", line);
                                    while((getline < pkgs_file) > 0) {
                                      gsub(/README.html/, readme_name);
                                      print >> readme;



Home | Main Index | Thread Index | Old Index