pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Missing trailing $ to only match whole w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd996a218daa
branches:  trunk
changeset: 465828:cd996a218daa
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Jan 06 18:10:06 2004 +0000

description:
Missing trailing $ to only match whole words.

diffstat:

 mk/buildlink3/gen-transform.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r bdee36705a3e -r cd996a218daa mk/buildlink3/gen-transform.sh
--- a/mk/buildlink3/gen-transform.sh    Tue Jan 06 17:28:16 2004 +0000
+++ b/mk/buildlink3/gen-transform.sh    Tue Jan 06 18:10:06 2004 +0000
@@ -1,6 +1,6 @@
 #!@BUILDLINK_SHELL@
 #
-# $NetBSD: gen-transform.sh,v 1.4 2004/01/03 20:23:51 jlam Exp $
+# $NetBSD: gen-transform.sh,v 1.5 2004/01/06 18:10:06 jlam Exp $
 
 transform="@_BLNK_TRANSFORM_SEDFILE@"
 untransform="@_BLNK_UNTRANSFORM_SEDFILE@"
@@ -104,7 +104,7 @@
                        done
                        @CAT@ >> $sedfile << EOF
 s|$fromlib\([  "':;]\)|$tolibs\1|g
-s|$fromlib|$tolibs|g
+s|$fromlib$|$tolibs|g
 s|$fromlib/|$tolibs/|g
 EOF
                        ;;



Home | Main Index | Thread Index | Old Index