From 3cffacaa45d3153efaa67ed1088a79a3ebec1efc Mon Sep 17 00:00:00 2001 From: "." <.@.> Date: Sat, 27 Aug 2016 14:32:16 +1200 Subject: [PATCH] fixes for 3d8672ff5b9c --HG-- branch : nmdc-ircfrontend --- godist.sh | 2 +- typedefs.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/godist.sh b/godist.sh index 755d723..8fc9926 100644 --- a/godist.sh +++ b/godist.sh @@ -97,7 +97,7 @@ single_build() { # Build. # GOARCH/GOOS supplied in function env - go build -a "-X main.APP_VERSION=${version}" -ldflags '-s -w' -o "$(pathfix "${tmpdir}/${local_bin_name}")" + go build -a -ldflags "-s -w -X main.APP_VERSION=${version}" -o "$(pathfix "${tmpdir}/${local_bin_name}")" # Sanitise. sanitise "${tmpdir}/${local_bin_name}" diff --git a/typedefs.go b/typedefs.go index 4a580e3..4bc1b45 100644 --- a/typedefs.go +++ b/typedefs.go @@ -19,7 +19,7 @@ along with this program. If not, see . */ const ( - APP_VERSION = "1.x.x-dev" + APP_VERSION = "1.x.x-dev" // override with build ldflags APP_NAME = "nmdc-ircfrontend" BLESSED_CHANNEL = "#chat" // must be lowercase BLESSED_CHANNEL_MODE = "n" // means that you have to be in the channel to chat, but that's it