summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-03-29 22:08:21 +0000
committerhubertf <hubertf@pkgsrc.org>2001-03-29 22:08:21 +0000
commit54b86c52143fd5fd29b41f9c11d3d8bbdf66f5e3 (patch)
tree107c441db97d5356c990bd63f64be33ebc16b26a
parent361599b98c2e70302752b8ecd931bc7beb47bb92 (diff)
downloadpkgsrc-54b86c52143fd5fd29b41f9c11d3d8bbdf66f5e3.tar.gz
Don't use regexp substitution where plain substitution is intended,
it might yield some surprising results. Pointed out by Marc Espie <espie@schutzenberger.liafa.jussieu.fr>
-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 ebdbfeba24d..6bed4867537 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.703 2001/03/28 14:34:00 skrll Exp $
+# $NetBSD: bsd.pkg.mk,v 1.704 2001/03/29 22:08:21 hubertf Exp $
#
# This file is in the public domain.
#
@@ -759,7 +759,7 @@ PKG_ARGS_COMMON+= -m ${MTREE_FILE}
.endif
PKG_ARGS_INSTALL= -p ${PREFIX} ${PKG_ARGS_COMMON}
-PKG_ARGS_BINPKG= -p ${PREFIX:C/^${DESTDIR}//} -L ${PREFIX} ${PKG_ARGS_COMMON}
+PKG_ARGS_BINPKG= -p ${PREFIX:S/^${DESTDIR}//} -L ${PREFIX} ${PKG_ARGS_COMMON}
.endif # !PKG_ARGS_COMMON
PKG_SUFX?= .tgz