Refactor utility to locate conffiles.
This commit is contained in:
parent
4dc5ffe7f3
commit
f1d230a6b5
|
@ -9,7 +9,7 @@
|
|||
|
||||
set -e
|
||||
|
||||
Read_conffile ()
|
||||
Get_conffiles ()
|
||||
{
|
||||
if [ -n "${LH_CONFIG}" ]
|
||||
then
|
||||
|
@ -24,7 +24,12 @@ Read_conffile ()
|
|||
done
|
||||
fi
|
||||
|
||||
for CONFFILE in ${FILES}
|
||||
echo ${FILES}
|
||||
}
|
||||
|
||||
Read_conffile ()
|
||||
{
|
||||
for CONFFILE in Get_conffiles "${@}"
|
||||
do
|
||||
if [ -f "${CONFFILE}" ]
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue