From: Paul Spooren Date: Fri, 18 Sep 2020 04:57:14 +0000 (-1000) Subject: syncthing: simplify runtime test X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=ab30ab04c0b6cb710adbbdd05247aba688d93541;p=openwrt-packages.git syncthing: simplify runtime test Passed argument no longer contains the release. Signed-off-by: Paul Spooren --- diff --git a/utils/syncthing/test.sh b/utils/syncthing/test.sh index 5933bca69..f582111ce 100644 --- a/utils/syncthing/test.sh +++ b/utils/syncthing/test.sh @@ -1,3 +1,3 @@ #!/bin/sh -syncthing --version | grep "${2%%-*}" +syncthing --version | grep "$2"