Add PROGDIR to PATH to run other scripts

This commit is contained in:
gardouille 2022-12-21 10:38:35 +01:00
parent c530cc0ba2
commit fc1eb8bf8b
Signed by: gardouille
GPG Key ID: E759BAA22501AF32
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@ readonly NBARGS="${#}"
## Export DEBUG for sub-script
export DEBUG
## Ensure current directory is in the path
# to be able to call sub-scripts
PATH="${PATH}:${PROGDIR}"
## Default values for some vars
readonly MPV_PROC_REGEXP="mpv.*--input-ipc-server"
readonly KODI_PROC_REGEXP="kodi.bin"