summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorspz <spz@pkgsrc.org>2011-06-03 10:25:04 +0000
committerspz <spz@pkgsrc.org>2011-06-03 10:25:04 +0000
commit81597b9c4f85631539be31da674915a098dd9714 (patch)
treea5f11e12073259b58e9751a8dd0c2d5c58e21e25 /mk
parent1e4b2ec932269470b722adf20fc664dc3b1ab918 (diff)
downloadpkgsrc-81597b9c4f85631539be31da674915a098dd9714.tar.gz
add "" to ${DESCR_SRC} to make the
[: /ftp/pub/pkgsrc/current/pkgsrc/archivers/heirloom-tar/DESCR: unexpected operator go away
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.readme.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.readme.mk b/mk/bsd.pkg.readme.mk
index 9226529145f..7f9b701a939 100644
--- a/mk/bsd.pkg.readme.mk
+++ b/mk/bsd.pkg.readme.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.readme.mk,v 1.23 2009/06/30 16:11:49 dmcmahill Exp $
+# $NetBSD: bsd.pkg.readme.mk,v 1.24 2011/06/03 10:25:04 spz Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and encapsulates the
# code to produce README.html files in each package directory.
@@ -159,7 +159,7 @@ describe:
@${ECHO_N} "${PKGNAME}|${.CURDIR}|"; \
${ECHO_N} "${PREFIX}|"; \
${ECHO_N} ${COMMENT:Q}; \
- if [ -f ${DESCR_SRC} ]; then \
+ if [ -f "${DESCR_SRC}" ]; then \
${ECHO_N} "|${DESCR_SRC}"; \
else \
${ECHO_N} "|/dev/null"; \
@@ -333,7 +333,7 @@ print-summary-data:
${ECHO} "maintainer ${PKGPATH} ${MAINTAINER}"; \
fi
@${ECHO} "categories ${PKGPATH} ${CATEGORIES}"
- @if [ -f ${DESCR_SRC} ]; then \
+ @if [ -f "${DESCR_SRC}" ]; then \
${ECHO} "descr ${PKGPATH} ${DESCR_SRC:S;${PKGSRCDIR}/;;g}"; \
else \
${ECHO} "descr ${PKGPATH} /dev/null"; \