From a673cc1dfd7f022485e7b01093b0ca620e571132 Mon Sep 17 00:00:00 2001
From: vas <whiterocket@outlook.com>
Date: Fri, 31 May 2019 13:27:59 -0700
Subject: [PATCH] better tweego resolution from PATH

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

diff --git a/Makefile b/Makefile
index 28a8f3496dd..852c94cb980 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ COMMIT := $(shell git rev-parse --short HEAD)
 uname := $(shell uname -s)
 arch := $(shell uname -m)
 arch := $(shell if test $(arch) = x86_64 -o $(arch) = amd64; then echo 64; else echo 32; fi)
-TWEEGO := $(shell command -v tweego || echo "$$?")
+TWEEGO := $(shell if type tweego; then echo tweego; else echo 1; fi)
 ifeq ($(TWEEGO),1)
 	ifeq ($(uname),Linux)
 		ifeq ($(arch),64)
-- 
GitLab