diff --git a/vscode/rootfs/etc/s6-overlay/s6-rc.d/init-custom-bash/run b/vscode/rootfs/etc/s6-overlay/s6-rc.d/init-custom-bash/run index 7e8e920..4d7c578 100644 --- a/vscode/rootfs/etc/s6-overlay/s6-rc.d/init-custom-bash/run +++ b/vscode/rootfs/etc/s6-overlay/s6-rc.d/init-custom-bash/run @@ -19,10 +19,10 @@ run() { if [[ ! -e "$DEFAULT_FILES_PATH"/custom-template.sh ]]; then bashio::log.warning "custom-template.sh does not exist." - cp "$DEFAULT_FILES_PATH"/custom-template.sh "$CUSTOM_BASH_SCRIPTS_PATH" + cp "$DEFAULT_FILES_PATH"/custom-template.sh "$CUSTOM_BASH_SCRIPTS_PATH"/custom-template.sh fi - for script in $CUSTOM_BASH_SCRIPTS_PATH/*.sh; do + for script in "$CUSTOM_BASH_SCRIPTS_PATH"/*.sh; do bashio::log.info "Config script: $script" chmod +x "$script" "$CUSTOM_BASH_SCRIPTS_PATH"/"$script"