opnsense-ports/editors/helix/files/patch-helix-loader_src_lib.rs
Franco Fichtner 47c5a1fca7 */*: sync with upstream
Taken from: FreeBSD
2022-12-08 00:45:38 +01:00

11 lines
392 B
Rust

--- helix-loader/src/lib.rs.orig 2022-12-07 02:54:50 UTC
+++ helix-loader/src/lib.rs
@@ -41,6 +41,8 @@ pub fn runtime_dir() -> PathBuf {
return conf_dir;
}
+ return std::path::PathBuf::from("%%DATADIR%%").join(RT_DIR);
+
// fallback to location of the executable being run
// canonicalize the path in case the executable is symlinked
std::env::current_exe()