]> git.donarmstrong.com Git - debhelper.git/commitdiff
Make it possible to pass perl code to autoscript.
authorMarcin Owsiany <porridge@debian.org>
Sun, 9 Sep 2012 11:13:20 +0000 (12:13 +0100)
committerJoey Hess <joey@kitenet.net>
Sun, 9 Sep 2012 18:17:20 +0000 (14:17 -0400)
The shell-quoted sed code passed as parameter 4 is fragile (see Bug#665296).
Make it possible to pass a sub that operates on each line via $_ instead.

Also add a basic unit test for Dh_Lib, for now just with tests for autoscript.


No differences found