Displaying 2 results from an estimated 2 matches for "d7c4820bf".
2017 Apr 04
2
[PATCH v2] builder: Don't hard-code /etc for configuration files.
Use ./configure --sysconfdir setting.
---
builder/paths.ml | 2 +-
mllib/guestfs_config.ml.in | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/builder/paths.ml b/builder/paths.ml
index cbd9d4bd0..d7c4820bf 100644
--- a/builder/paths.ml
+++ b/builder/paths.ml
@@ -35,7 +35,7 @@ let xdg_config_home () =
let xdg_config_dirs () =
let dirs =
try Sys.getenv "XDG_CONFIG_DIRS"
- with Not_found -> "/etc/xdg" in
+ with Not_found -> Guestfs_config.sysconfdir // "xdg&...
2017 Apr 06
0
Re: [PATCH v2] builder: Don't hard-code /etc for configuration files.
...1 CEST Richard W.M. Jones wrote:
> Use ./configure --sysconfdir setting.
> ---
> builder/paths.ml | 2 +-
> mllib/guestfs_config.ml.in | 1 +
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/builder/paths.ml b/builder/paths.ml
> index cbd9d4bd0..d7c4820bf 100644
> --- a/builder/paths.ml
> +++ b/builder/paths.ml
> @@ -35,7 +35,7 @@ let xdg_config_home () =
> let xdg_config_dirs () =
> let dirs =
> try Sys.getenv "XDG_CONFIG_DIRS"
> - with Not_found -> "/etc/xdg" in
> + with Not_found ->...