Merge pull request #23 from fleaz/patch-1

Better folder detection in helper.sh
This commit is contained in:
Cyril Guislain 2024-11-13 13:09:17 +01:00 committed by GitHub
commit cb8fa357d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,7 +3,7 @@
set -e
clear
HELPER_SCRIPT_FOLDER="$( cd "$( dirname "${0}" )" && pwd )"
HELPER_SCRIPT_FOLDER="$(dirname "$(readlink -f "$0")")"
for script in "${HELPER_SCRIPT_FOLDER}/scripts/"*.sh; do . "${script}"; done
for script in "${HELPER_SCRIPT_FOLDER}/scripts/menu/"*.sh; do . "${script}"; done
for script in "${HELPER_SCRIPT_FOLDER}/scripts/menu/K1/"*.sh; do . "${script}"; done