diff options
-rwxr-xr-x | helpers/lh_config | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_config b/helpers/lh_config index 6239345..642423f 100755 --- a/helpers/lh_config +++ b/helpers/lh_config @@ -712,14 +712,14 @@ Read_conffiles config/all config/common config/bootstrap config/chroot config/bi if [ -x config.cfg ] then - EXTRA_ARGUMENTS="$(./config.cfg)" + Local_arguments "$(./config.cfg) ${@}" elif [ -r config.cfg ] then - EXTRA_ARGUMENTS="$(sed -e '/^$/d' -e '/^#/d' config.cfg | sed -e '$!N;s/\n/ /g')" + Local_arguments "$(sed -e '/^$/d' -e '/^#/d' config.cfg | sed -e '$!N;s/\n/ /g') ${@}" +else + Local_arguments "${@}" fi -Local_arguments "${EXTRA_ARGUMENTS} ${@}" - if [ -n "${_CONFFILE}" ] then Read_conffiles "${_CONFFILE}" |