From 083136156fcfaea5cd57b183b94580607d77c380 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 8 Jul 2025 09:53:44 +0200 Subject: [PATCH] Use "." --- .templates/01-config_yaml.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.templates/01-config_yaml.sh b/.templates/01-config_yaml.sh index 6326f1c07..9f6832b2f 100644 --- a/.templates/01-config_yaml.sh +++ b/.templates/01-config_yaml.sh @@ -33,8 +33,8 @@ CONFIGSOURCE="$CONFIGLOCATION"/config.yaml # Is there a custom path if bashio::config.has_value 'CONFIG_LOCATION'; then CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION") - if [[ "$CONFIGSOURCE" == *.* ]]; then - CONFIGSOURCE=$(dirname "$CONFIGSOURCE") + if [[ "$CONFIGSOURCE" == *"."* ]]; then + CONFIGSOURCE=$(dirname "$CONFIGSOURCE") fi # If does not end by config.yaml, remove trailing slash and add config.yaml if [[ "$CONFIGSOURCE" != *".yaml" ]]; then