From d0ea47eca43411862abfbcc7d6a25557f141e30c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 7 May 2022 23:42:10 +0200 Subject: [PATCH] Lint -print0 --- .github/workflows/daily_README.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/daily_README.yaml b/.github/workflows/daily_README.yaml index fbce3a16e..37652ed40 100644 --- a/.github/workflows/daily_README.yaml +++ b/.github/workflows/daily_README.yaml @@ -40,7 +40,7 @@ jobs: fi # Clean previously reported issues - find "$f" -iname readme.md | xargs sed -i "/Open Issues :/d" + find "$f" -iname readme.md -print0 | xargs -0 sed -i "/Open Issues :/d" # If there is an issue with the addon name in title, put a message OPENISSUES=$(sed -n "/\"Title\".*$f/I p" issueslist) @@ -49,7 +49,7 @@ jobs: do line=${line#* \"} line=${line::-n} - find "$f" -iname readme.md | xargs sed -i "1i Open Issue : [$line](https://github.com/alexbelgium/hassio-addons/issues)" + find "$f" -iname readme.md -print0 | xargs -0 sed -i "1i Open Issue : [$line](https://github.com/alexbelgium/hassio-addons/issues)" done <<< "$OPENISSUES" fi