Bump the version to 2.1.0.
[mailpopbox.git] / Makefile
index bb328229677dce9ff402c851f91a70006bea293d..7e343af5a46b0a74d629ea8fe779cf84b9af8b51 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 .PHONY:
 all: coverage linux mac
 
-DIRTY=$(shell [[ -z `git status --untracked-files=no --porcelain` ]] || echo "-dirty")
+DIRTY=$(shell test -z "`git status --untracked-files=no --porcelain`" || echo "-dirty")
 GITHASH=$(shell git log --pretty='%H' -1)
 LDFLAG=-ldflags "-X 'main.versionGit=$(GITHASH)$(DIRTY)'"