summaryrefslogtreecommitdiffstats
path: root/libimagrt
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-07-27 19:15:50 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-07-27 19:15:50 +0200
commit6571429123352cfd88bc94cb15aed49fc1ca02bf (patch)
treec49421c51349634aaa3221bce2d5e865ea321f06 /libimagrt
parent76fba4622423e3625717f8d66f34c96b51106eb9 (diff)
Search for imagrc in RTP and not in RTP/store
Diffstat (limited to 'libimagrt')
-rw-r--r--libimagrt/src/runtime.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/libimagrt/src/runtime.rs b/libimagrt/src/runtime.rs
index 63678672..237b3fe7 100644
--- a/libimagrt/src/runtime.rs
+++ b/libimagrt/src/runtime.rs
@@ -73,11 +73,7 @@ impl<'a> Runtime<'a> {
}, PathBuf::from);
let configpath = matches.value_of("config")
- .map_or_else(|| {
- let mut spath = rtp.clone();
- spath.push("store");
- spath
- }, PathBuf::from);
+ .map_or_else(|| rtp.clone(), PathBuf::from);
let cfg = match Configuration::new(&configpath) {
Err(e) => if e.err_type() != ConfigErrorKind::NoConfigFileFound {