Merge pull request #37 from prometheus/arch-os-build-fixes

Fix Go download link for several archs and OSes.
pull/39/head
juliusv 2015-02-05 18:08:53 +01:00
commit 202bbe16fd
1 changed files with 3 additions and 3 deletions

View File

@ -3,8 +3,8 @@ VERSION := 0.7.1
SRC := $(wildcard *.go) SRC := $(wildcard *.go)
TARGET := node_exporter TARGET := node_exporter
OS := $(subst Darwin,darwin,$(subst Linux,linux,$(shell uname))) OS := $(subst Darwin,darwin,$(subst Linux,linux,$(subst FreeBSD,freebsd,$(shell uname))))
ARCH := $(subst x86_64,amd64,$(shell uname -m)) ARCH := $(subst x86_64,amd64,$(patsubst i%86,386,$(shell uname -m)))
# The release engineers apparently need to key their binary artifacts to the # The release engineers apparently need to key their binary artifacts to the
# Mac OS X release family. # Mac OS X release family.