diff --git a/makefile b/makefile
index 1e1dc781a814e329cf446ea863ed6bffc19553a9..9f9dbd72adfcf94a89bade5c9876f5990822635f 100644
--- a/makefile
+++ b/makefile
@@ -3,7 +3,7 @@ HASH := $(shell git rev-list -n 1 --abbrev-commit HEAD)
 COMMIT := $(git rev-parse --short HEAD)
 uname := $(shell uname -s)
 arch := $(shell uname -m)
-TWEEGO := $(shell command -v tweego || echo "$?")
+TWEEGO := $(shell command -v tweego ; echo "$?")
 ifneq ($(TWEEGO),0)
 	ifeq ($(uname),Linux)
 		ifeq ($(arch),x86_64)