Fix windows build (fixes #38)

This commit is contained in:
Jakob Borg 2014-01-20 23:00:49 +01:00
parent d9ffd359e2
commit 9b449cb527
1 changed files with 2 additions and 2 deletions

View File

@ -71,10 +71,10 @@ elif [[ $1 == "all" ]] ; then
export GOARCH="$goarch"
export name="syncthing-$goos-$goarch"
go build -ldflags "-X main.Version $version" \
&& nrsc syncthing.exe gui \
&& mkdir -p "$name" \
&& mv syncthing.exe "$buildDir/$name.exe" \
&& cp syncthing.exe "$buildDir/$name.exe" \
&& cp README.md LICENSE "$name" \
&& mv syncthing.exe "$name" \
&& zip -qr "$buildDir/$name.zip" "$name" \
&& rm -r "$name"
done