refactor: simplify program path searching in funclib.sh.
commit94271692f0bd4933b712be802818b90422975795
authorGary V. Vaughan <gary@gnu.org>
Mon, 28 Oct 2013 05:50:36 +0000 (28 18:50 +1300)
committerGary V. Vaughan <gary@gnu.org>
Mon, 28 Oct 2013 07:49:47 +0000 (28 20:49 +1300)
treeeeab485def7a7564bb7b0a5c97b9a800ddd1dc80
parent13d640337a652ce5ba6c92c585c6ae91ad0dbc02
refactor: simplify program path searching in funclib.sh.

* gl/build-aux/funclib.sh (func_path_progs): New function. Factor
out common code from GREP and SED searches.
(func_check_prog_sed, func_check_prog_grep): New functions, for
non-common code.
(scriptversion): Update.
* bootstrap: Regenerate.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
bootstrap
gl/build-aux/funclib.sh