]> git.donarmstrong.com Git - debhelper.git/commit
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)
commita3494762925e5a42a42ce82c688f62f163ffad1b
tree17ebd0bc0a1d852670cf139286341d2f4379b59b
parentb3c00de156adf9c52da3cd0fa7c46414d5eb6982
Make it possible to pass perl code to autoscript.

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.
Debian/Debhelper/Dh_Lib.pm
doc/PROGRAMMING
t/dh-lib [new file with mode: 0755]