From faf09c632d4bd3984e3241c20e6f45aead5fa7b8 Mon Sep 17 00:00:00 2001 From: Lucas Eriksson Date: Thu, 2 Aug 2018 11:36:50 +0200 Subject: [PATCH] ui: Fix AppVeyor build "-dirty"-bug --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 00270c96b3..55d85f6c53 100644 --- a/Makefile +++ b/Makefile @@ -443,7 +443,7 @@ qemu-version.h: FORCE else \ if test -d .git; then \ pkgvers=$$(git rev-parse --short HEAD 2>/dev/null | tr -d '\n');\ - if ! git diff-index --quiet HEAD &>/dev/null; then \ + if ! git diff --quiet HEAD >/dev/null 2>&1; then \ pkgvers="$${pkgvers}-dirty"; \ fi; \ fi; \