summaryrefslogtreecommitdiffstats
path: root/bin/core/imag-init/src
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-02-10 15:44:50 +0100
committerMatthias Beyer <mail@beyermatthias.de>2018-02-11 14:43:35 +0100
commit8a3f2602e0b1c83c2040cd7172320829a4dd3d8c (patch)
treeaeb665a6cb48314bff4823470c4ae96d9e2ac291 /bin/core/imag-init/src
parentfa8af0c053dd6ac1fd25382ba87a96936f568b29 (diff)
Fix include_str!() in imag-init
Fixed by symlinking the imagrc.toml file to the crate directory of imag-init.
Diffstat (limited to 'bin/core/imag-init/src')
-rw-r--r--bin/core/imag-init/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/core/imag-init/src/main.rs b/bin/core/imag-init/src/main.rs
index 5c6b3e44..79188534 100644
--- a/bin/core/imag-init/src/main.rs
+++ b/bin/core/imag-init/src/main.rs
@@ -45,7 +45,8 @@ use std::path::PathBuf;
use std::path::Path;
use std::process::Command;
-const CONFIGURATION_STR : &'static str = include_str!("../../../../imagrc.toml");
+const CONFIGURATION_STR : &'static str = include_str!("../imagrc.toml");
+
const GITIGNORE_STR : &'static str = r#"
# We ignore the imagrc.toml file by default
#