From 588f99428d5318bb166a0a7a1c852aed2cb3b546 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 26 Aug 2019 12:57:14 +0200 Subject: [PATCH] Fix spell --- builder.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/builder.sh b/builder.sh index 0fcae93..3e9a99e 100755 --- a/builder.sh +++ b/builder.sh @@ -635,8 +635,9 @@ function build_homeassistant() { fi # Inject HA - if [ -d /homeassistant ]; then - cp -r /homeassisant "$TARGET/homeassistant" + if [ -e /homeassistant ]; then + bashio::log.info "Inject HomeAssistant folder into build" + cp -r /homeassistant "$TARGET/homeassistant" rm -rf "$TARGET/homeassistant/.git" "$TARGET/homeassistant/docs" "$TARGET/homeassistant/tests" fi