diff options
-rw-r--r-- | mk/bsd.pkg.readme.mk | 6 |
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"; \ |