forked from Lainports/freebsd-ports
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)
This commit is contained in:
parent
31290cc355
commit
136a6b01d2
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue