diff options
author | seb <seb> | 2008-07-23 23:46:26 +0000 |
---|---|---|
committer | seb <seb> | 2008-07-23 23:46:26 +0000 |
commit | 48dca43235ca93ea23be9d57721f8e0e411099aa (patch) | |
tree | 3165710e566bdbd265c36ebefee39e2c9ca0e0d2 /mk | |
parent | 5218fe7777ba32af4802dd03c4cfcc9fe902c762 (diff) | |
download | pkgsrc-48dca43235ca93ea23be9d57721f8e0e411099aa.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}\//) |