fix version check to prevent useless rebuilds

pull/3250/head
Nicolas Sauzede 2019-12-28 08:51:08 +01:00 committed by Alexander Medvednikov
parent 4925aa594b
commit c09ce9cb42
1 changed files with 1 additions and 1 deletions

View File

@ -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; \