From a00d9201cdb6f02b3c5abca0ccf06250f2c3842e Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Thu, 5 Feb 2015 17:00:51 +0100 Subject: [PATCH] Fix Go download link for several archs and OSes. --- Makefile.INCLUDE | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.INCLUDE b/Makefile.INCLUDE index 6f8ae4bd..39fc4957 100644 --- a/Makefile.INCLUDE +++ b/Makefile.INCLUDE @@ -15,8 +15,8 @@ VERSION := 0.1.0 TARGET := alertmanager -OS := $(subst Darwin,darwin,$(subst Linux,linux,$(shell uname))) -ARCH := $(subst x86_64,amd64,$(shell uname -m)) +OS := $(subst Darwin,darwin,$(subst Linux,linux,$(subst FreeBSD,freebsd,$(shell uname)))) +ARCH := $(subst x86_64,amd64,$(patsubst i%86,386,$(shell uname -m))) # The release engineers apparently need to key their binary artifacts to the # Mac OS X release family.