mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-28 06:59:44 -08:00
Fix Go download link for several archs and OSes.
This commit is contained in:
parent
968552845f
commit
225b88bc31
6
Makefile
6
Makefile
|
@ -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.
|
||||||
|
@ -18,7 +18,7 @@ RELEASE_SUFFIX ?= -osx$(MAC_OS_X_VERSION)
|
||||||
else
|
else
|
||||||
RELEASE_SUFFIX ?=
|
RELEASE_SUFFIX ?=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
GO_VERSION ?= 1.4.1
|
GO_VERSION ?= 1.4.1
|
||||||
GOURL ?= https://golang.org/dl
|
GOURL ?= https://golang.org/dl
|
||||||
GOPKG ?= go$(GO_VERSION).$(GOOS)-$(GOARCH)$(RELEASE_SUFFIX).tar.gz
|
GOPKG ?= go$(GO_VERSION).$(GOOS)-$(GOARCH)$(RELEASE_SUFFIX).tar.gz
|
||||||
|
|
Loading…
Reference in a new issue