summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2022-09-08 16:03:19 +0200
committerStefan Eßer <se@FreeBSD.org>2022-09-08 16:03:19 +0200
commit136a6b01d28d42af48130ed231c302e104f52ec2 (patch)
tree632643522ea052624ef0f2818aa9b0149724569e
parentdatabases/postgresql15-server: update to 15beta5 (diff)
Mk/bsd.port.mk: Fix quoting of ${COMMENT:Q} in the describe target
The contents of COMMENT will be adequately protected against interpretation by the shell due to the :Q modifier. This access to the COMMENT variable should therefore not be enclosed in double quotes. Approved by: portmgr (implicit)
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index e080b81a64d8..e4389d7fc88c 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -4366,7 +4366,7 @@ INDEX_OUT=/dev/stdout
. if empty(FLAVORS) || defined(_DESCRIBE_WITH_FLAVOR)
describe:
- @(${ECHO_CMD} "${PKGNAME}|${.CURDIR}|${PREFIX}|${COMMENT:Q}|${_DESCR}|${MAINTAINER}|${CATEGORIES}|${_EXTRACT_DEPENDS}|${_PATCH_DEPENDS}|${_FETCH_DEPENDS}|${_BUILD_DEPENDS:O:u}|${_RUN_DEPENDS:O:u}|${_WWW}" >> ${INDEX_OUT})
+ @(${ECHO_CMD} "${PKGNAME}|${.CURDIR}|${PREFIX}|"${COMMENT:Q}"|${_DESCR}|${MAINTAINER}|${CATEGORIES}|${_EXTRACT_DEPENDS}|${_PATCH_DEPENDS}|${_FETCH_DEPENDS}|${_BUILD_DEPENDS:O:u}|${_RUN_DEPENDS:O:u}|${_WWW}" >> ${INDEX_OUT})
. else # empty(FLAVORS)
describe: ${FLAVORS:S/^/describe-/}
. for f in ${FLAVORS}