From d80b6741f9c1a7acce5b231260d05b94ab44dfe1 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 5 Feb 2023 13:20:20 +0100 Subject: [PATCH] Update 00-config_location.sh --- readarr/rootfs/etc/cont-init.d/00-config_location.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readarr/rootfs/etc/cont-init.d/00-config_location.sh b/readarr/rootfs/etc/cont-init.d/00-config_location.sh index 51e8ab62e..398351481 100755 --- a/readarr/rootfs/etc/cont-init.d/00-config_location.sh +++ b/readarr/rootfs/etc/cont-init.d/00-config_location.sh @@ -4,7 +4,7 @@ if bashio::config.has_value 'CONFIG_LOCATION'; then CONFIG_LOCATION="$(bashio::config 'CONFIG_LOCATION')" # Modify if it is a base directory - if [[ "$CONFIG_LOCATION" == *.* ]]; then CONFIG_LOCATION="$(dirname $CONFIG_LOCATION)"; fi + if [[ "$CONFIG_LOCATION" == *.* ]]; then CONFIG_LOCATION="$(dirname "$CONFIG_LOCATION")"; fi fi CONFIG_LOCATION=$(bashio::config 'CONFIG_LOCATION')