Fix a bug in variable concatanation with `+='.
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 6 Nov 2010 11:46:52 +0000 (12:46 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 7 Nov 2010 14:06:08 +0000 (15:06 +0100)
commit7a020d668ab1bf8f36bb1719b63f784c64ae74f2
treebcffe32cab4f7957381a25cd3d14e0522efc6aa9
parentd7c1679b14c1ab691927f3243df1cb3cbb2360aa
Fix a bug in variable concatanation with `+='.

* lib/Automake/VarDef.pm (append): Remove extra backslash-escaped
newlines from the end of the variable's content, before appending
to it.
* tests/pluseq11.test: New test, exposing the bug.
* tests/Makefile.am (TESTS): Update.

Reported by Andy Wingo.
ChangeLog
lib/Automake/VarDef.pm
tests/Makefile.am
tests/Makefile.in
tests/pluseq11.test [new file with mode: 0755]