after
This commit is contained in:
parent
4f043326ee
commit
d2eb5dd011
1 changed files with 1 additions and 1 deletions
|
@ -12,13 +12,13 @@ function link_bashrc {
|
||||||
function main_import_modules {
|
function main_import_modules {
|
||||||
local IFS=$'\n'
|
local IFS=$'\n'
|
||||||
local modules=($(find "${MAIN_ROOT}" -type 'f' -name '*.sh'))
|
local modules=($(find "${MAIN_ROOT}" -type 'f' -name '*.sh'))
|
||||||
log_trace "${modules[@]}"
|
|
||||||
local module
|
local module
|
||||||
for module in "${modules[@]}" ; do
|
for module in "${modules[@]}" ; do
|
||||||
if [ "${module}" != "${MAIN_FILE}" ] ; then
|
if [ "${module}" != "${MAIN_FILE}" ] ; then
|
||||||
source "${module}"
|
source "${module}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
log_trace "${modules[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# import modules
|
# import modules
|
||||||
|
|
Loading…
Reference in a new issue