ylwrap: preparatory refactoring
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 16 May 2012 15:35:05 +0000 (17:35 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 16 May 2012 16:06:27 +0000 (18:06 +0200)
commit0ce63a38ab7c87502504ba7d2319886d4f4a7d15
treeddc283d932ea2c01f598c06779a275ddfc225d43
parent0592e126d5f8e2de04894944c4cad9fe35198d30
ylwrap: preparatory refactoring

This commit should cause no semantic change in the ylwrap behaviour.
It will only be needed in light of a future change.  See:
<http://lists.gnu.org/archive/html/automake/2012-05/msg00013.html>

* lib/ylwrap (get_dirname, quote_for_sed): New functions, factoring
out some non-trivial code.  Use them where appropriate.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/ylwrap