From 0fcecd3efc33cf7b4b1fd45ffb5986351536f3b2 Mon Sep 17 00:00:00 2001 From: Yordan Suarez Date: Mon, 7 Aug 2023 02:26:36 -0400 Subject: [PATCH] config workspace dir --- scripts/develop | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/develop b/scripts/develop index 4bf0c9e..20366e8 100644 --- a/scripts/develop +++ b/scripts/develop @@ -5,9 +5,9 @@ set -e cd "$(dirname "$0")/.." # Create config dir if not present -if [[ ! -d "/home/config" ]]; then - mkdir -p "/home/config" - hass --config "/home/config" --script ensure_config +if [[ ! -d "${PWD}/config" ]]; then + mkdir -p "${PWD}/config" + hass --config "${PWD}/config" --script ensure_config fi # Set the path to custom_components @@ -17,4 +17,4 @@ fi export PYTHONPATH="${PYTHONPATH}:${PWD}/custom_components" # Start Home Assistant -hass --config "/home/config" --debug \ No newline at end of file +hass --config "${PWD}/config" --debug \ No newline at end of file