Merge pull request #385 from sarlalian/master

In FreeBSD bash is located at /usr/local/bin/bash instead of /bin/bash
This commit is contained in:
Armon Dadgar 2014-10-06 10:48:49 -07:00
commit 24ac68b4f6
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# This script builds the application from source.
set -e
@ -28,7 +28,6 @@ fi
if [ "$(go env GOOS)" = "freebsd" ]; then
export CC="clang"
export CGO_LDFLAGS="$CGO_LDFLAGS -extld clang" # Workaround for https://code.google.com/p/go/issues/detail?id=6845
fi
# On OSX, we need to use an older target to ensure binaries are