diff options
author | spz <spz@pkgsrc.org> | 2011-06-03 10:25:04 +0000 |
---|---|---|
committer | spz <spz@pkgsrc.org> | 2011-06-03 10:25:04 +0000 |
commit | fa0b435d0f121a77a711d4673b7511bebce0fe69 (patch) | |
tree | a5f11e12073259b58e9751a8dd0c2d5c58e21e25 /mk/bsd.pkg.readme.mk | |
parent | fa1d62daf247b11dc1a34a079a4690e5ad8500de (diff) | |
download | pkgsrc-fa0b435d0f121a77a711d4673b7511bebce0fe69.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/bsd.pkg.readme.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"; \ |