import modules
This commit is contained in:
parent
b07230a6a1
commit
1f44f63093
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ function link_bashrc {
|
||||||
ln --symbolic "${MAIN_FILE}" "${file}"
|
ln --symbolic "${MAIN_FILE}" "${file}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function main {
|
function main_import_modules {
|
||||||
local module
|
local module
|
||||||
for module in "${MAIN_ROOT}"/*.sh ; do
|
for module in "${MAIN_ROOT}"/*.sh ; do
|
||||||
if [ "${module}" != "${MAIN_FILE}" ] ; then
|
if [ "${module}" != "${MAIN_FILE}" ] ; then
|
||||||
|
@ -17,4 +17,4 @@ local module
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main_import_modules
|
||||||
|
|
Loading…
Reference in a new issue