Merge pull request #448 from matthiasbeyer/libimagstore/retieve_for_module_fix_glob
Fix glob() pattern
This commit is contained in:
commit
59152e6a52
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ impl Store {
|
||||||
path.to_str()
|
path.to_str()
|
||||||
.ok_or(SE::new(SEK::EncodingError, None))
|
.ok_or(SE::new(SEK::EncodingError, None))
|
||||||
.and_then(|path| {
|
.and_then(|path| {
|
||||||
let path = [ path, "/*" ].join("");
|
let path = [ path, "/**/*" ].join("");
|
||||||
debug!("glob()ing with '{}'", path);
|
debug!("glob()ing with '{}'", path);
|
||||||
glob(&path[..]).map_err(|e| SE::new(SEK::GlobError, Some(Box::new(e))))
|
glob(&path[..]).map_err(|e| SE::new(SEK::GlobError, Some(Box::new(e))))
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue