summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.licenses.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.licenses.mk b/Mk/bsd.licenses.mk
index c232a3e76930..cd698f330847 100644
--- a/Mk/bsd.licenses.mk
+++ b/Mk/bsd.licenses.mk
@@ -751,7 +751,8 @@ install-license:
. endfor
.endif
# XXX @dirrmtry entry must be here (no way to do with PLIST_* vars)
- @${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST}
+# XXX Important, keep the whitespace behind "@cwd "!
+ @${ECHO_CMD} "@cwd " >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm ${_LICENSE_DIR_REL}" >> ${TMPPLIST}
@${ECHO_CMD} "@unexec rmdir %D/share/licenses 2>/dev/null || true" >> ${TMPPLIST}