diff --git a/makefile b/makefile
index c0ae7ef55ed0f90bba3f1b6fe2cdc02b7dd6efcf..c2621728c519095810800a5f0d44a1a5355ed2e2 100644
--- a/makefile
+++ b/makefile
@@ -1,6 +1,6 @@
 MAKEFLAGS += -r
 HASH := $(shell git rev-list -n 1 --abbrev-commit HEAD)
-COMMIT := $(git rev-parse --short HEAD)
+COMMIT := $(shell git rev-parse --short HEAD)
 uname := $(shell uname -s)
 arch := $(shell uname -m)
 TWEEGO := $(shell command -v tweego || echo "$$?")