From a5617b65f84695682e5bdcea363587376b95a096 Mon Sep 17 00:00:00 2001 From: Thomas Jensen Date: Sat, 13 Feb 2021 10:49:15 +0100 Subject: [PATCH] Simplify git call in Makefile --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b4162ce..f7b5d49 100644 --- a/Makefile +++ b/Makefile @@ -20,8 +20,7 @@ # The following line (GLOBALCONF) is the only line you should need to edit! GLOBALCONF = /usr/share/boxes -# TODO update git call -GIT_STATUS = ($(shell git rev-parse --short HEAD)$(shell if [ $$(git status -s -uall | wc -l) -ge 1 ] ; then echo ", dirty" ; fi)) +GIT_STATUS = ($(shell git describe --dirty --always)) BVERSION = 1.3.1-SNAPSHOT ALL_FILES = LICENSE README.md README.Win32.md boxes-config