diff options
author | seb <seb@pkgsrc.org> | 2008-07-23 23:46:26 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2008-07-23 23:46:26 +0000 |
commit | 700cddad6f0803a4ceed96bd48d9bf8a2d14239c (patch) | |
tree | 3165710e566bdbd265c36ebefee39e2c9ca0e0d2 /mk | |
parent | 9aaa4a46b3ef46cade6ab7fe2e3594f88e67e308 (diff) | |
download | pkgsrc-700cddad6f0803a4ceed96bd48d9bf8a2d14239c.tar.gz |
Avoid quoting "other character" in awk's strings as regular expressions.
See pkg/39002.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/plist/print-plist.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/plist/print-plist.mk b/mk/plist/print-plist.mk index f523f0c3069..55527ab28a9 100644 --- a/mk/plist/print-plist.mk +++ b/mk/plist/print-plist.mk @@ -1,4 +1,4 @@ -# $NetBSD: print-plist.mk,v 1.15 2007/08/20 10:59:53 joerg Exp $ +# $NetBSD: print-plist.mk,v 1.16 2008/07/23 23:46:26 seb Exp $ ### ### Automatic PLIST generation @@ -34,8 +34,8 @@ _PRINT_PLIST_AWK_SUBST+= \ gsub(/${PKGVERSION:S/./\./g:C/nb[0-9]*$$//}/, "$${PKGVERSION}");\ gsub(/^${PKGLOCALEDIR}\/locale/, "share/locale"); \ gsub(/^@dirrm ${PKGLOCALEDIR}\/locale/, "@dirrm share/locale"); \ - gsub("^${PKGINFODIR}\/", "info/"); \ - gsub("^${PKGMANDIR}\/", "man/"); + gsub("^${PKGINFODIR}/", "info/"); \ + gsub("^${PKGMANDIR}/", "man/"); _PRINT_PLIST_AWK_SUBST+=} _PRINT_PLIST_AWK_IGNORE= ($$0 ~ /^${PKG_DBDIR:S|^${PREFIX}/||:S|/|\\/|g}\//) |