Merge pull request #448 from matthiasbeyer/libimagstore/retieve_for_module_fix_glob

Fix glob() pattern
This commit is contained in:
Matthias Beyer 2016-05-28 18:17:28 +02:00
commit 59152e6a52

View file

@ -410,7 +410,7 @@ impl Store {
path.to_str()
.ok_or(SE::new(SEK::EncodingError, None))
.and_then(|path| {
let path = [ path, "/*" ].join("");
let path = [ path, "/**/*" ].join("");
debug!("glob()ing with '{}'", path);
glob(&path[..]).map_err(|e| SE::new(SEK::GlobError, Some(Box::new(e))))
})