diff options
author | John Baldwin <jhb@FreeBSD.org> | 2019-11-20 22:44:38 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2019-11-20 22:44:38 +0000 |
commit | e4f098d6a0be1bf6cae37f6259f69a7303beee11 (patch) | |
tree | 5133dfc2e876b3249ae22d5431388b56821fbbd2 /Mk | |
parent | b92b93b0ce8587582ae1cbf5e9223ee362ecae42 (diff) | |
download | ports-e4f098d6a0be1bf6cae37f6259f69a7303beee11.tar.gz ports-e4f098d6a0be1bf6cae37f6259f69a7303beee11.zip |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index ebac68554f7c..d5d325d26a1a 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -4464,9 +4464,11 @@ generate-plist: ${WRKDIR} ${ECHO_CMD} $${file} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} >> ${TMPPLIST}; \ done .if !empty(PLIST) - @if [ -f ${PLIST} ]; then \ - ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${PLIST} >> ${TMPPLIST}; \ +.for f in ${PLIST} + @if [ -f "${f}" ]; then \ + ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${f} >> ${TMPPLIST}; \ fi +.endfor .endif .for dir in ${PLIST_DIRS} |