pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/plist



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Tue Jan  7 08:43:59 UTC 2025

Modified Files:
        pkgsrc/mk/plist: plist.mk

Log Message:
mk/plist/plist.mk: Fix mistake in previous: need ; before }.

${_GENERATE_PLIST} is always used within braces, which requires a
terminating semicolon, or else you get:

sh: 1: Syntax error: end of file unexpected (expecting "}")


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 pkgsrc/mk/plist/plist.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/plist/plist.mk
diff -u pkgsrc/mk/plist/plist.mk:1.60 pkgsrc/mk/plist/plist.mk:1.61
--- pkgsrc/mk/plist/plist.mk:1.60       Tue Jan  7 08:08:42 2025
+++ pkgsrc/mk/plist/plist.mk    Tue Jan  7 08:43:58 2025
@@ -1,4 +1,4 @@
-# $NetBSD: plist.mk,v 1.60 2025/01/07 08:08:42 riastradh Exp $
+# $NetBSD: plist.mk,v 1.61 2025/01/07 08:43:58 riastradh Exp $
 #
 # This Makefile fragment handles the creation of PLISTs for use by
 # pkg_create(8).
@@ -235,7 +235,7 @@ GENERATE_PLIST?=    ${TRUE};
 .if ${PLIST_TYPE} == "dynamic"
 _GENERATE_PLIST=                                                       \
        ${FIND} ${DESTDIR}${PREFIX} \! -type d -print | ${SORT} |       \
-               ${SED} -e "s|^${DESTDIR}${PREFIX}/||"
+               ${SED} -e "s|^${DESTDIR}${PREFIX}/||";
 .else
 _GENERATE_PLIST=       ${CAT} /dev/null ${PLIST_SRC}; ${GENERATE_PLIST}
 .endif



Home | Main Index | Thread Index | Old Index