diff options
author | wiz <wiz@pkgsrc.org> | 2001-02-17 19:36:27 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-02-17 19:36:27 +0000 |
commit | ccbccdc81b460c708333d873b73576b9ed3a5728 (patch) | |
tree | 6d9b9d17f4bf2153f807e87f60121b0cfe989493 | |
parent | 4b23af66faf1cc1fd52345fb76ed3cb41fe632e6 (diff) | |
download | pkgsrc-ccbccdc81b460c708333d873b73576b9ed3a5728.tar.gz |
Fix show-var target (if variable contains " or `, like some COMMENTs do).
-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 83538dfd7ea..20a445a0214 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.664 2001/02/17 15:55:47 tron Exp $ +# $NetBSD: bsd.pkg.mk,v 1.665 2001/02/17 19:36:27 wiz Exp $ # # This file is in the public domain. # @@ -2967,7 +2967,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}}" + @${ECHO} "${${VARNAME}:S/"/\"/g:S/`/\`/g}" .if !target(print-build-depends-list) print-build-depends-list: |