diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2018-03-24 12:30:59 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-03-26 15:06:18 -0400 |
commit | 323706b19223cdd375f838d48b52d9df5395e526 (patch) | |
tree | 727bcf66e4440a7a7afdedc5c684659fe8604641 /config | |
parent | 2846b925ca64133b1260b43bc9bac83ffea53348 (diff) |
config: Load ${DBSCRIPTS_CONFIG:-config.local}
I thought it did this (Arch devtools does this), I even documented it in
the README!
Diffstat (limited to 'config')
-rwxr-xr-x | config | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -42,3 +42,7 @@ SRCEXT=".src.tar.gz" # Where to send error emails, and who they are from LIST="maintenance@lists.parabola.nu" FROM="repo@repo.parabola.nu" + +# Override default config with config.local +LOCAL_CONFIG=${DBSCRIPTS_CONFIG:-"$(dirname ${BASH_SOURCE[0]})/config.local"} +[[ -f "${LOCAL_CONFIG}" ]] && . "${LOCAL_CONFIG}" |