mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Lint -print0
This commit is contained in:
4
.github/workflows/daily_README.yaml
vendored
4
.github/workflows/daily_README.yaml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user