Source files relative to the repos root
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# Source utils.sh for getFTLConfigValue()
|
||||
PI_HOLE_SCRIPT_DIR='/opt/pihole'
|
||||
utilsfile="${PI_HOLE_SCRIPT_DIR}/utils.sh"
|
||||
# shellcheck source="../Scripts/utils.sh"
|
||||
# shellcheck source="./advanced/Scripts/utils.sh"
|
||||
. "${utilsfile}"
|
||||
|
||||
# Get file paths
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Source utils.sh for getFTLConfigValue()
|
||||
PI_HOLE_SCRIPT_DIR='/opt/pihole'
|
||||
utilsfile="${PI_HOLE_SCRIPT_DIR}/utils.sh"
|
||||
# shellcheck source="../Scripts/utils.sh"
|
||||
# shellcheck source="./advanced/Scripts/utils.sh"
|
||||
. "${utilsfile}"
|
||||
|
||||
# Get file paths
|
||||
|
||||
Reference in New Issue
Block a user