From c09ce9cb420f4aa2c0829008fec1aa6039812668 Mon Sep 17 00:00:00 2001 From: Nicolas Sauzede Date: Sat, 28 Dec 2019 08:51:08 +0100 Subject: [PATCH] fix version check to prevent useless rebuilds --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0a661a2d9a..1378818655 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ ifdef ANDROID chmod 755 v endif @(VC_V=`./v version | cut -f 3 -d " "`; \ - V_V=`git rev-parse --short HEAD`; \ + V_V=`git rev-parse --short=7 HEAD`; \ if [ $$VC_V != $$V_V ]; then \ echo "Self rebuild ($$VC_V => $$V_V)"; \ $(MAKE) selfcompile; \