From e8542cacc03d4bc0e89f6c7c5d021f269eedd742 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 30 Mar 2019 11:14:53 +0100 Subject: [PATCH] inotify-tools: fix check_update Remove empty lines from results so cut doesn't choke on them. Signed-off-by: David Oberhollenzer --- pkg/inotify-tools/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/inotify-tools/build b/pkg/inotify-tools/build index 342312b..f938ef4 100755 --- a/pkg/inotify-tools/build +++ b/pkg/inotify-tools/build @@ -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" }