pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Use $${foo} instead of $$foo to prevent ident(1) fr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea4cab62e7a6
branches:  trunk
changeset: 501608:ea4cab62e7a6
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Oct 24 18:28:42 2005 +0000

description:
Use $${foo} instead of $$foo to prevent ident(1) from reporting false
positives. No functional changes.

diffstat:

 mk/bsd.pkg.mk |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r a701f0af808f -r ea4cab62e7a6 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Mon Oct 24 18:20:40 2005 +0000
+++ b/mk/bsd.pkg.mk     Mon Oct 24 18:28:42 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1733 2005/10/23 16:58:42 minskim Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1734 2005/10/24 18:28:42 rillig Exp $
 #
 # This file is in the public domain.
 #
@@ -2498,7 +2498,7 @@
                                ${ECHO} "$$ldd $$i";                    \
                        fi;                                             \
                        if [ "$$err" != "" ]; then                      \
-                               ${ECHO} "$$i: $$err";                   \
+                               ${ECHO} "$${i}: $$err";                 \
                                error=1;                                \
                        fi;                                             \
                done;                                                   \
@@ -3660,9 +3660,9 @@
                                exit 1;                                 \
                        fi;                                             \
                fi;                                                     \
-               ${ECHO_MSG} "${_PKGSRC_IN}> Required installed package $$pkg: $${found} found"; \
+               ${ECHO_MSG} "${_PKGSRC_IN}> Required installed package $${pkg}: $${found} found"; \
        else                                                            \
-               ${ECHO_MSG} "${_PKGSRC_IN}> Required package $$pkg: NOT found"; \
+               ${ECHO_MSG} "${_PKGSRC_IN}> Required package $${pkg}: NOT found"; \
                target=${DEPENDS_TARGET:Q};                             \
                ${ECHO_MSG} "${_PKGSRC_IN}> Verifying $$target for $$dir";      \
                if [ ! -d $$dir ]; then                                 \



Home | Main Index | Thread Index | Old Index