pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/plist Avoid quoting "other character" in awk's stri...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb6d40c91cb9
branches:  trunk
changeset: 544990:fb6d40c91cb9
user:      seb <seb%pkgsrc.org@localhost>
date:      Wed Jul 23 23:46:26 2008 +0000

description:
Avoid quoting "other character" in awk's strings as regular expressions.
See pkg/39002.

diffstat:

 mk/plist/print-plist.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 589617b10119 -r fb6d40c91cb9 mk/plist/print-plist.mk
--- a/mk/plist/print-plist.mk   Wed Jul 23 23:46:08 2008 +0000
+++ b/mk/plist/print-plist.mk   Wed Jul 23 23:46:26 2008 +0000
@@ -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 @@
        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}\//)



Home | Main Index | Thread Index | Old Index