diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-07-09 04:59:23 +0100 |
---|---|---|
committer | Chris Lamb <chris@chris-lamb.co.uk> | 2008-07-09 04:59:23 +0100 |
commit | 9f96103510214b834acf27408acef44f418c145f (patch) | |
tree | b0cbbd7ab6e07d0693d563e1b9eb5cf31786a634 /helpers | |
parent | 0b38353a813e1908f1bca427dd2fd51ab7e4f087 (diff) | |
download | vyos-live-build-9f96103510214b834acf27408acef44f418c145f.tar.gz vyos-live-build-9f96103510214b834acf27408acef44f418c145f.zip |
Fix bug where command-line argument --ignore-system-default was not seen before it was required.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/lh_config | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/helpers/lh_config b/helpers/lh_config index 5cbaa59a1..d4a100981 100755 --- a/helpers/lh_config +++ b/helpers/lh_config @@ -622,7 +622,6 @@ Local_arguments () ;; --ignore-system-defaults) - _LH_IGNORE_SYSTEM_DEFAULTS="enabled" shift ;; @@ -660,7 +659,7 @@ Local_arguments () } # Reading system configuration -if [ -f "${SYSTEM_LH_CONFFILE}" ] && [ "${_LH_IGNORE_SYSTEM_DEFAULTS}" != "enabled" ] +if [ -f "${SYSTEM_LH_CONFFILE}" ] && if ! In_list "--ignore-system-defaults" "${@}" then Echo_message "Using system defaults from ${SYSTEM_LH_CONFFILE}" Read_conffile "${SYSTEM_LH_CONFFILE}" |