diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2018-12-03 14:13:08 -0800 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2018-12-03 14:13:08 -0800 |
commit | 88216c520c8fb9afec9b56bf71a2105985e5675d (patch) | |
tree | 948070f55aa109a2b03244a61110945fcbf2e2a3 /configure.sh | |
parent | 34d2e1c7c12db37a093ac1331f58a1818b195bdb (diff) | |
download | cash-88216c520c8fb9afec9b56bf71a2105985e5675d.tar.gz cash-88216c520c8fb9afec9b56bf71a2105985e5675d.zip |
configure: local config should be before overrides
Diffstat (limited to 'configure.sh')
-rw-r--r-- | configure.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.sh b/configure.sh index a506394..9d9d156 100644 --- a/configure.sh +++ b/configure.sh @@ -14,6 +14,10 @@ export OPENSSL_CONFIG="openssl.cnf" # For advanced customization (not suggested) export EMAIL_DEFAULT_DOMAIN="omgwallhack.org" # ./mailcert.sh uses this as a user's domain if nothing more obvious is available +if [ -e ./local.cfg ]; then + . ./local.cfg # dash is finnicky about how paths for sourcing work +fi + if [ $SUPPLEMENTARY_CONFIG ]; then if [ -e ./"$SUPPLEMENTARY_CONFIG" ]; then . ./"$SUPPLEMENTARY_CONFIG" # dash is finnicky about how paths for sourcing work @@ -24,7 +28,3 @@ if [ $SUPPLEMENTARY_CONFIG ]; then exit 1 fi fi - -if [ -e ./local.cfg ]; then - . ./local.cfg # dash is finnicky about how paths for sourcing work -fi |