let bundled_sources = defpath(bundled_sources, "bundled-sources" );
const DEFAULT_LIBRARY_GLOB: &str = "library/*.toml";
- let libexec = |specd: Option<String>, leaf: &str| -> String {
+ let in_libexec = |specd: Option<String>, leaf: &str| -> String {
specd.unwrap_or_else(|| format!("{}/{}", &libexec_dir, leaf))
};
- let usvg_bin = libexec(usvg_bin, "usvg");
+ let usvg_bin = in_libexec(usvg_bin, "usvg" );
let shapelibs = shapelibs.unwrap_or_else(||{
let glob = defpath(None, DEFAULT_LIBRARY_GLOB);