summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorwiz <wiz>2001-02-19 10:50:45 +0000
committerwiz <wiz>2001-02-19 10:50:45 +0000
commita0b77eb2ebf320ec48e40f675782105c1220bbcf (patch)
tree54511ee544cb8335ff77bfe0ed75ad3266f0667a /mk
parente1341263494f109e17a81cb51b86333d109a3a88 (diff)
downloadpkgsrc-a0b77eb2ebf320ec48e40f675782105c1220bbcf.tar.gz
Do some more escaping in show-var. Inspired by hubertf.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
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: