main_source_
This commit is contained in:
parent
6ce158712d
commit
d7bf240ba0
1 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@ main_link_bashrc() {
|
||||||
ln --symbolic "${MAIN_USERS_FILE}" "${file}"
|
ln --symbolic "${MAIN_USERS_FILE}" "${file}"
|
||||||
}
|
}
|
||||||
|
|
||||||
main_import_directory() {
|
main_source_directory() {
|
||||||
local path="${1}"
|
local path="${1}"
|
||||||
if [ -d "${path}" ]; then
|
if [ -d "${path}" ]; then
|
||||||
local count ifs module modules
|
local count ifs module modules
|
||||||
|
@ -38,7 +38,7 @@ main_import_directory() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
main_import_file() {
|
main_source_file() {
|
||||||
local path="${1}"
|
local path="${1}"
|
||||||
if [ -f "${path}" ]; then
|
if [ -f "${path}" ]; then
|
||||||
main_import_directory "$(dirname "${path}")"
|
main_import_directory "$(dirname "${path}")"
|
||||||
|
@ -48,6 +48,6 @@ main_import_file() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
main_import_file "${ENV}"
|
main_source_file "${ENV}"
|
||||||
|
|
||||||
main_import_directory ~/shell
|
main_source_directory ~/shell
|
||||||
|
|
Loading…
Reference in a new issue