1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-21 18:49:46 +01:00

inotify-tools: fix check_update

Remove empty lines from results so cut doesn't choke on them.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-03-30 11:14:53 +01:00
parent 94ccf6d7e2
commit e8542cacc0

View file

@ -21,6 +21,6 @@ deploy() {
check_update() {
curl --silent -L "https://github.com/rvoicilas/inotify-tools/releases" |\
grep -o "tag/[0-9.]*" | sed 's#tag/##g' | \
grep -o "tag/[0-9.]*" | sed 's#tag/##g' | sed '/^$/d' |\
verson_find_greatest "$VERSION"
}