]> git.ipfire.org Git - thirdparty/libtool.git/commit
libtoolize: fix some long-standing sed substitution bugs
authorGary V. Vaughan <gary@gnu.org>
Mon, 31 Oct 2011 11:29:35 +0000 (18:29 +0700)
committerGary V. Vaughan <gary@gnu.org>
Mon, 31 Oct 2011 12:49:49 +0000 (19:49 +0700)
commitf1fd9a12cb4475e81f4ee8310a0108d9fc92934d
treed7e7443d605a03d7981f10df430f85b471863bc0
parentbba5b84fcd05fe4872b0228104b7be9b7de8daba
libtoolize: fix some long-standing sed substitution bugs

* libtoolize.m4sh (func_fixup_Makefile): `\\\\\$' in a " quoted
script that is evaluated twice before execution becomes a `\$',
which sed interprets as a literal $.  The script will then delete
any lines with a first non-whitespace character of `$'. Instead
use `\\\\$' in single quotes, which sed eventually receives as
`\\$' and correctly interprets as part of an instruction to
delete otherwise empty lines ending with a `\'.
Additionally the rest of the same sed script is no longer
applied to comment lines to avoid munging the copyright header
among others.
* NEWS: Updated.
NEWS
libtoolize.m4sh