From 48e8e073ba820ef8b65b443f9412031cf3d76c22 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Wed, 3 Apr 2019 23:39:38 +0300
Subject: [PATCH] Cleaner Golang variables.

---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 0f38089..1155697 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,8 @@ DESTDIR ?= .local
 tempdir != mktemp -d
 os != uname -s | awk '{print tolower($$0)}'
 arch != uname -m
-goarch != eval $$(go env) && echo "$$GOARCH"
+goos != go env GOOS
+goarch != go env GOARCH
 ssh_configs != find ".ssh/config.d/" -type f \! -name '.*'
 curl = curl --location --silent --fail
 download = $(curl) --output $@
-- 
GitLab