diff options
Diffstat (limited to 'community/syncthing/build')
-rwxr-xr-x | community/syncthing/build | 4 |
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" |