aboutsummaryrefslogtreecommitdiff
path: root/community/syncthing/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-04-06 22:23:26 +0300
committerCem Keylan <cem@ckyln.com>2020-04-06 22:23:26 +0300
commitc2d2b9da854af58e740e8f8cac8a9e3f8b0c6568 (patch)
treee325b9aa95286facd13cd0af879cdcfac04bbf8e /community/syncthing/build
parent9616b2c3d95153fd65aaaca266bea86fe9c2b1ba (diff)
downloadrepository-c2d2b9da854af58e740e8f8cac8a9e3f8b0c6568.tar.gz
syncthing: bump to 1.4.1
Diffstat (limited to 'community/syncthing/build')
-rwxr-xr-xcommunity/syncthing/build4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/syncthing/build b/community/syncthing/build
index ab63cd25..3fe05416 100755
--- a/community/syncthing/build
+++ b/community/syncthing/build
@@ -1,6 +1,8 @@
#!/bin/sh -e
-go run build.go -no-upgrade -version "v$(cut -d ' ' -f 1 version)" build
+read -r ver _ < version
+
+go run build.go -no-upgrade -version "v$ver" build
install -Dm755 syncthing "$1/usr/bin/syncthing"