From 0326d81e58ec48c3ed7be7a88cad6436c06860d5 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 11 Jun 2023 18:47:23 +0200 Subject: allow to overwrite config location by CONFIG_DIR environment variable --- lib/load-configuration | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/load-configuration b/lib/load-configuration index ca1a713..3c5d599 100755 --- a/lib/load-configuration +++ b/lib/load-configuration @@ -141,7 +141,7 @@ fi # possibly pull in custom modifications -conf_dir="${base_dir}/conf" +conf_dir="${CONFIG_DIR:-${base_dir}/conf}" if [ -r "${conf_dir}/common.conf" ]; then # shellcheck source=/dev/null -- cgit v1.2.3-70-g09d2