mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-06 22:18:48 +02: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
|
fi
|
||||||
|
|
||||||
# Clean previously reported issues
|
# 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
|
# If there is an issue with the addon name in title, put a message
|
||||||
OPENISSUES=$(sed -n "/\"Title\".*$f/I p" issueslist)
|
OPENISSUES=$(sed -n "/\"Title\".*$f/I p" issueslist)
|
||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
do
|
do
|
||||||
line=${line#* \"}
|
line=${line#* \"}
|
||||||
line=${line::-n}
|
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"
|
done <<< "$OPENISSUES"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user