Fix sh loader
This commit is contained in:
10
sh/load.sh
10
sh/load.sh
@ -1,4 +1,6 @@
|
||||
# Sources necessary shell scripts
|
||||
if [ -d "./custom" ]; then
|
||||
source ./custom/*.sh
|
||||
fi
|
||||
TOOLKIT=/etc/toolkit
|
||||
|
||||
# Sources custom shell scripts
|
||||
for sh in ${TOOLKIT}/sh/custom/*.sh; do
|
||||
test -r "$sh" && . "$sh"
|
||||
done
|
||||
|
Reference in New Issue
Block a user