Home : Fix bin bash module loading.
This commit is contained in:
parent
fb61394010
commit
66e7fd88ea
|
@ -1,12 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ -z ${BASH_PATH} ]]; then
|
||||
echo "BASH_PATH not defined."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Source modules.
|
||||
for file in ${BASH_PATH}/module/*.sh; do
|
||||
for file in /etc/bash/module/*.sh; do
|
||||
source "${file}"
|
||||
done
|
||||
|
||||
|
|
|
@ -1,12 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ -z ${BASH_PATH} ]]; then
|
||||
echo "BASH_PATH not defined."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Source modules.
|
||||
for file in ${BASH_PATH}/module/*.sh; do
|
||||
for file in /etc/bash/module/*.sh; do
|
||||
source "${file}"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue