aboutsummaryrefslogtreecommitdiff
path: root/community/syncthing/build
diff options
context:
space:
mode:
Diffstat (limited to 'community/syncthing/build')
-rwxr-xr-xcommunity/syncthing/build4
1 files changed, 1 insertions, 3 deletions
diff --git a/community/syncthing/build b/community/syncthing/build
index 4a3170df..50bc1107 100755
--- a/community/syncthing/build
+++ b/community/syncthing/build
@@ -1,8 +1,6 @@
#!/bin/sh -e
-read -r ver _ < "${0%/*}/version"
-
-go run build.go -no-upgrade -version "v$ver" build
+go run build.go -no-upgrade -version "v$2" build
install -Dm755 syncthing "$1/usr/bin/syncthing"