diff options
author | spz <spz> | 2011-06-03 10:25:04 +0000 |
---|---|---|
committer | spz <spz> | 2011-06-03 10:25:04 +0000 |
commit | bcd02e7e10b1a4914d9a5965c3b133b15114bf6b (patch) | |
tree | a5f11e12073259b58e9751a8dd0c2d5c58e21e25 /mk | |
parent | 8d8c0729f88baae3c58f32fbcc96551916a1f653 (diff) | |
download | pkgsrc-bcd02e7e10b1a4914d9a5965c3b133b15114bf6b.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.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"; \ |