diff options
author | wiz <wiz@pkgsrc.org> | 2008-09-07 11:13:51 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2008-09-07 11:13:51 +0000 |
commit | d2d7499b6b663615d3879ce20bbfbef9855f237d (patch) | |
tree | da7fcce816714faea83240fa7e6cfa7f16e926b4 /mk | |
parent | 49ca1f5f42c8e4fac002f45ca25d88221bf3855a (diff) | |
download | pkgsrc-d2d7499b6b663615d3879ce20bbfbef9855f237d.tar.gz |
Apply patch from Aleksej Saushev to fix index generation.
Diffstat (limited to 'mk')
-rwxr-xr-x | mk/scripts/genindex.awk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mk/scripts/genindex.awk b/mk/scripts/genindex.awk index f13a94d1ce8..9e7f1a08631 100755 --- a/mk/scripts/genindex.awk +++ b/mk/scripts/genindex.awk @@ -1,5 +1,5 @@ #!/usr/bin/awk -f -# $NetBSD: genindex.awk,v 1.6 2006/12/15 13:15:06 martti Exp $ +# $NetBSD: genindex.awk,v 1.7 2008/09/07 11:13:51 wiz Exp $ # # Copyright (c) 2002, 2003 The NetBSD Foundation, Inc. # All rights reserved. @@ -345,12 +345,12 @@ function find_all_depends(pkg, type, pkgreg, i, deps, depdir, topdep){ # we'll distinguish things like gnome from gnome-libs # function reg2str(reg){ - gsub(/\./, "\\\.", reg); - gsub(/\+/, "\\\+", reg); - gsub(/\*/, "\\\*", reg); - gsub(/\?/, "\\\?", reg); - gsub(/\[/, "\\\[", reg); - gsub(/\]/, "\\\]", reg); + gsub(/\./, "\\.", reg); + gsub(/\+/, "\\+", reg); + gsub(/\*/, "\\*", reg); + gsub(/\?/, "\\?", reg); + gsub(/\[/, "\\[", reg); + gsub(/\]/, "\\]", reg); reg = " "reg" "; return(reg); } |