Skip to content

Commit

Permalink
Fixing build
Browse files Browse the repository at this point in the history
  • Loading branch information
jtyr committed Jan 24, 2018
1 parent 4df11ff commit 5d01850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ for P in "${PLATFORMS[@]}"; do

mkdir -p "$PTMP"

if [ -z "$ARM" ]; then
if [ "$ARCH" == "$ARM" ]; then
GOOS="$OS" GOARCH="$ARCH" CGO_ENABLED=0 go build -ldflags='-s -w' -o "$PTMP/$NAME" github.com/jtyr/gbt/cmd/gbt
else
ARCH="${ARCH%%:*}"
Expand Down

0 comments on commit 5d01850

Please sign in to comment.