main,proxy
This commit is contained in:
parent
fbfb4c27e6
commit
8b39df8ed0
2 changed files with 27 additions and 27 deletions
|
@ -12,8 +12,8 @@ main_link_bashrc() {
|
||||||
|
|
||||||
# import modules
|
# import modules
|
||||||
main_import_modules() {
|
main_import_modules() {
|
||||||
local file="${1}"
|
local file="${1}"
|
||||||
if [ -f "${file}" ] ; then
|
if [ -f "${file}" ] ; then
|
||||||
local path="$(realpath "${file}")"
|
local path="$(realpath "${file}")"
|
||||||
local root="$(dirname "${path}")"
|
local root="$(dirname "${path}")"
|
||||||
local IFS=$'\n'
|
local IFS=$'\n'
|
||||||
|
@ -26,10 +26,10 @@ if [ -f "${file}" ] ; then
|
||||||
done
|
done
|
||||||
log_trace "${modules[@]}"
|
log_trace "${modules[@]}"
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
log_fatal "No file: ${file}"
|
log_fatal "No file: ${file}"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# import modules
|
# import modules
|
||||||
|
|
Loading…
Reference in a new issue