FILE
This commit is contained in:
parent
7bb0eeecf1
commit
3343762acc
1 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
|||
#! /usr/bin/env bash
|
||||
PATH="$(realpath "${BASH_SOURCE[0]}")"
|
||||
ROOT="$(dirname "${PATH}")"
|
||||
FILE="$(realpath "${BASH_SOURCE[0]}")"
|
||||
ROOT="$(dirname "${FILE}")"
|
||||
|
||||
function main {
|
||||
local module
|
||||
for module in "${ROOT}"/*.sh ; do
|
||||
if [ "${module}" != "${PATH}" ] ; then
|
||||
if [ "${module}" != "${FILE}" ] ; then
|
||||
source "${module}"
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue