From d6858dc9161d8dcb5d32a7d094d96df79eb97333 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 19 Feb 2001 10:50:45 +0000 Subject: Do some more escaping in show-var. Inspired by hubertf. --- mk/bsd.pkg.mk | 4 ++-- 1 file 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: -- cgit v1.2.3