From 22a06c656686d64a8624b3c07210583c3f764cbe Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 2 Nov 2008 17:22:56 +0100 Subject: Generalizing internal LH_CONFFILE variable. --- functions/arguments.sh | 2 +- helpers/lh_config | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/arguments.sh b/functions/arguments.sh index 70f397c..a360e82 100755 --- a/functions/arguments.sh +++ b/functions/arguments.sh @@ -28,7 +28,7 @@ Arguments () ;; -c|--conffile) - LH_CONFFILE="${2}" + _CONFFILE="${2}" shift 2 ;; diff --git a/helpers/lh_config b/helpers/lh_config index 557f2bf..1a9c615 100755 --- a/helpers/lh_config +++ b/helpers/lh_config @@ -643,7 +643,7 @@ Local_arguments () ;; -c|--conffile) - LH_CONFFILE="${2}" + _CONFFILE="${2}" shift 2 ;; @@ -716,9 +716,9 @@ Read_conffiles config/all config/common config/bootstrap config/chroot config/bi Local_arguments "${@}" -if [ -n "${LH_CONFFILE}" ] +if [ -n "${_CONFFILE}" ] then - Read_conffiles "${LH_CONFFILE}" + Read_conffiles "${_CONFFILE}" fi # Setting defaults -- cgit v1.0