pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Fixed quoting in show-comment.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4737e5347b66
branches:  trunk
changeset: 494324:4737e5347b66
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon May 23 07:57:02 2005 +0000

description:
Fixed quoting in show-comment.

diffstat:

 mk/bsd.pkg.subdir.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 835c8abdd1c9 -r 4737e5347b66 mk/bsd.pkg.subdir.mk
--- a/mk/bsd.pkg.subdir.mk      Mon May 23 07:51:44 2005 +0000
+++ b/mk/bsd.pkg.subdir.mk      Mon May 23 07:57:02 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.subdir.mk,v 1.56 2005/02/22 21:02:15 agc Exp $
+#      $NetBSD: bsd.pkg.subdir.mk,v 1.57 2005/05/23 07:57:02 rillig Exp $
 #      Derived from: FreeBSD Id: bsd.port.subdir.mk,v 1.19 1997/03/09 23:10:56 wosch Exp 
 #      from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
 #
@@ -172,8 +172,8 @@
 .endif
 
 show-comment:
-       @if [ "${COMMENT}" ]; then                                      \
-               ${ECHO} "${COMMENT:Q}";                                 \
+       @if [ -z ${COMMENT:Q}"" ]; then                                 \
+               ${ECHO} ${COMMENT:Q};                                   \
        elif [ -f COMMENT ] ; then                                      \
                ${CAT} COMMENT;                                         \
        else                                                            \



Home | Main Index | Thread Index | Old Index