diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-04-17 16:56:21 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-04-17 16:56:21 +0000 |
commit | 7cd277e0a0a2dafd5a062a942601d48b09f00825 (patch) | |
tree | cd0027c4938bb1eb6309b70c5101f32f4ba6092e /mk | |
parent | 65e72cd9d40c27510b2d672a5760e82edb8b8e7c (diff) | |
download | pkgsrc-7cd277e0a0a2dafd5a062a942601d48b09f00825.tar.gz |
show-var: implement quoting via make's :Q modifier, instead of home-brewn.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 6d17fc32738..226e5c79b0b 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.719 2001/04/17 09:07:01 agc Exp $ +# $NetBSD: bsd.pkg.mk,v 1.720 2001/04/17 16:56:21 hubertf Exp $ # # This file is in the public domain. # @@ -2951,7 +2951,7 @@ show-pkgtools-version: # convenience target, to display make variables from command line # i.e. "make show-var VARNAME=var", will print var's value show-var: - @${ECHO} "${${VARNAME}:S/\\/\\\\/g:S/"/\"/g:S/`/\`/g}" + @${ECHO} ${${VARNAME}:Q} .if !target(print-build-depends-list) print-build-depends-list: |