pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/install I forgot to add the trailing slash when str...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/260120988652
branches:  trunk
changeset: 498416:260120988652
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Aug 22 08:07:38 2005 +0000

description:
I forgot to add the trailing slash when stripping ${PREFIX} from pathnames.

diffstat:

 mk/install/bsd.pkginstall.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ba92f524eda3 -r 260120988652 mk/install/bsd.pkginstall.mk
--- a/mk/install/bsd.pkginstall.mk      Mon Aug 22 05:12:01 2005 +0000
+++ b/mk/install/bsd.pkginstall.mk      Mon Aug 22 08:07:38 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkginstall.mk,v 1.15 2005/08/21 22:29:45 rillig Exp $
+# $NetBSD: bsd.pkginstall.mk,v 1.16 2005/08/22 08:07:38 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 @@
                s = substr(s, 1 + plen, length(s) - plen);              \
              }                                                         \
              print s;                                                  \
-           }' s="$$1" prefix=${PREFIX:Q} /dev/null;                    \
+           }' s="$$1" prefix=${PREFIX:Q}/ /dev/null;                   \
        }
 
 DEINSTALL_FILE=                ${PKG_DB_TMPDIR}/+DEINSTALL



Home | Main Index | Thread Index | Old Index