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 {
|
||||
local IFS=$'\n'
|
||||
local modules=($(find "${MAIN_ROOT}" -type 'f' -name '*.sh'))
|
||||
log_trace "${modules[@]}"
|
||||
local module
|
||||
for module in "${modules[@]}" ; do
|
||||
if [ "${module}" != "${MAIN_FILE}" ] ; then
|
||||
source "${module}"
|
||||
fi
|
||||
done
|
||||
log_trace "${modules[@]}"
|
||||
}
|
||||
|
||||
# import modules
|
||||
|
|
Loading…
Reference in a new issue