]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Fix sed_make_literal_regex.
authorPaolo Bonzini <bonzini@gnu.org>
Sun, 15 Aug 2010 17:04:08 +0000 (19:04 +0200)
committerPaolo Bonzini <bonzini@gnu.org>
Sun, 22 Aug 2010 07:52:26 +0000 (09:52 +0200)
* libltdl/config/general.m4sh (sed_make_literal_regex): Fix
definition.

ChangeLog
libltdl/config/general.m4sh

index 9892427d52ece9f57255d0a6506c73ae85d6b426..5f5e23ad610e84b5fac37ad61b565fe1a5fad6b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-08-22  Paolo Bonzini  <bonzini@gnu.org>
+
+       Fix sed_make_literal_regex.
+       * libltdl/config/general.m4sh (sed_make_literal_regex): Fix
+       definition.
+
 2010-08-15  Paolo Bonzini  <bonzini@gnu.org>
 
        Factor the sed command used to make a regex from a literal.
index 1ccb9b047c5f59c80176d0034a52d47e4956e8d8..595c57a0051d2dcdb55e4be33788d99128681c51 100644 (file)
@@ -317,7 +317,7 @@ double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
 # Sed substitution that turns a string into a regex matching for the
 # string literally.
-sed_make_literal_regex='s,[].[^$\\*/],\\\\&,g'
+sed_make_literal_regex='s,[].[^$\\*\/],\\&,g'
 
 # Re-`\' parameter expansions in output of double_quote_subst that were
 # `\'-ed in input to the same.  If an odd number of `\' preceded a '$'