From fb13921011d7d22129919d421737506245da5cb9 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 27 May 2025 13:59:02 +0200 Subject: [PATCH] Lint --- .templates/ha_entrypoint_modif.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/ha_entrypoint_modif.sh b/.templates/ha_entrypoint_modif.sh index 15b724ec9..f2f688c97 100755 --- a/.templates/ha_entrypoint_modif.sh +++ b/.templates/ha_entrypoint_modif.sh @@ -51,7 +51,7 @@ sed -i "s|/command/with-contenv bashio|$shebang|g" /ha_entrypoint.sh # Correct for scripts for string in "/command/with-contenv bashio" "/usr/bin/with-contenv bashio"; do - for files in $(grep -sril "$string" /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d); do + grep -sril "$string" /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d | while read -r files; do sed -i "s|$string|$shebang|g" "$files" done done