summaryrefslogtreecommitdiff
path: root/helpers/lh_config
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_config')
-rwxr-xr-xhelpers/lh_config13
1 files changed, 7 insertions, 6 deletions
diff --git a/helpers/lh_config b/helpers/lh_config
index b06b9eb..d073b6b 100755
--- a/helpers/lh_config
+++ b/helpers/lh_config
@@ -653,6 +653,13 @@ Local_arguments ()
done
}
+# Reading system configuration
+if [ -f "${SYSTEM_LH_CONFFILE}" ]
+then
+ Echo_verbose "Using system defaults from ${SYSTEM_LH_CONFFILE}"
+ Read_conffile "${SYSTEM_LH_CONFFILE}"
+fi
+
# Reading existing configuration
Read_conffile config/all config/common config/bootstrap config/chroot config/binary config/source
@@ -661,12 +668,6 @@ Local_arguments "${@}"
# Setting defaults
Set_defaults
-if [ -f "${SYSTEM_LH_CONFFILE}" ]
-then
- Echo_verbose "Using system defaults from ${SYSTEM_LH_CONFFILE}"
- Read_conffile "${SYSTEM_LH_CONFFILE}"
-fi
-
if [ -n "${LH_CONFFILE}" ]
then
Read_conffile "${LH_CONFFILE}"