diff options
author | rillig <rillig@pkgsrc.org> | 2005-08-21 22:29:45 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-08-21 22:29:45 +0000 |
commit | 79141f1ce9164a6954ccd74304efd3ba7f7f8187 (patch) | |
tree | 41348f40104db0629dc477eaf7da192c4b65cda1 /mk/install | |
parent | f33873026ac884df08a13b72af5848ed503d2472 (diff) | |
download | pkgsrc-79141f1ce9164a6954ccd74304efd3ba7f7f8187.tar.gz |
... and corrected a bug I had overseen. I had only tested that the function
works, not that it works in its environment.
Diffstat (limited to 'mk/install')
-rw-r--r-- | mk/install/bsd.pkginstall.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/install/bsd.pkginstall.mk b/mk/install/bsd.pkginstall.mk index 33039964c07..1af7da1b9cf 100644 --- a/mk/install/bsd.pkginstall.mk +++ b/mk/install/bsd.pkginstall.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkginstall.mk,v 1.14 2005/08/21 22:27:09 rillig Exp $ +# $NetBSD: bsd.pkginstall.mk,v 1.15 2005/08/21 22:29:45 rillig Exp $ # # This Makefile fragment is included by bsd.pkg.mk to use the common # INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply: @@ -24,7 +24,7 @@ _FUNC_STRIP_PREFIX= \ s = substr(s, 1 + plen, length(s) - plen); \ } \ print s; \ - }' s="$$1" prefix="$$2" /dev/null; \ + }' s="$$1" prefix=${PREFIX:Q} /dev/null; \ } DEINSTALL_FILE= ${PKG_DB_TMPDIR}/+DEINSTALL |