diff options
author | wiz <wiz@pkgsrc.org> | 2001-02-19 10:50:45 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-02-19 10:50:45 +0000 |
commit | d6858dc9161d8dcb5d32a7d094d96df79eb97333 (patch) | |
tree | 54511ee544cb8335ff77bfe0ed75ad3266f0667a | |
parent | 8846568b735ecdd50649d0fef51fe72da18fec70 (diff) | |
download | pkgsrc-d6858dc9161d8dcb5d32a7d094d96df79eb97333.tar.gz |
Do some more escaping in show-var. Inspired by hubertf.
-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 20a445a0214..ee694a866de 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.665 2001/02/17 19:36:27 wiz Exp $ +# $NetBSD: bsd.pkg.mk,v 1.666 2001/02/19 10:50:45 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}:S/"/\"/g:S/`/\`/g}" + @${ECHO} "${${VARNAME}:S/\\/\\\\/g:S/"/\"/g:S/`/\`/g}" .if !target(print-build-depends-list) print-build-depends-list: |