From e3bc33dc88911ff634ae00c0cb8b508a76f9cf67 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Tue, 7 Jan 2014 12:14:50 +0100 Subject: [PATCH] Move binary to build destination --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 6bf485297..cca63d594 100755 --- a/build.sh +++ b/build.sh @@ -30,7 +30,7 @@ else go build -ldflags "-X main.Version $version" \ && nrsc syncthing gui \ && mkdir -p "$name" \ - && cp syncthing "$buildDir/$name" \ + && mv syncthing "$buildDir/$name" \ && cp README.md LICENSE "$name" \ && mv syncthing "$name" \ && tar zcf "$buildDir/$name.tar.gz" "$name" \ @@ -47,7 +47,7 @@ else go build -ldflags "-X main.Version $version" \ && nrsc syncthing.exe gui \ && mkdir -p "$name" \ - && cp syncthing.exe "$buildDir/$name.exe" \ + && mv syncthing.exe "$buildDir/$name.exe" \ && cp README.md LICENSE "$name" \ && zip -qr "$buildDir/$name.zip" "$name" \ && rm -r "$name"