Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-06-11 18:47:23 +0200
committerErich Eckner <git@eckner.net>2023-06-11 18:47:23 +0200
commit0326d81e58ec48c3ed7be7a88cad6436c06860d5 (patch)
tree9138cd3b678de90f7ca2472858a5832350e0bec1 /lib
parent71d3bddf40149879617d1d6343c83e9ae6514151 (diff)
allow to overwrite config location by CONFIG_DIR environment variable
Diffstat (limited to 'lib')
-rwxr-xr-xlib/load-configuration2
1 files changed, 1 insertions, 1 deletions
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