X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c3b6fdfa5b30ad77457a2bae99db69bcd09e2968..57e1e31dce70a58da1736b9579a869c1df313a13:/tools/mkversion.pl?ds=sidebyside diff --git a/tools/mkversion.pl b/tools/mkversion.pl index 2755b3b9..f726640e 100644 --- a/tools/mkversion.pl +++ b/tools/mkversion.pl @@ -15,7 +15,7 @@ $ENV{'LANG'} = "C"; my $githistory = `git fetch --all`; my $gitversion = `git describe --dirty`; my $gitbranch = `git rev-parse --abbrev-ref HEAD`; -my $clean = 2; +my $clean = $gitversion =~ '-dirty' ? 0 : 1; my @compiletime = localtime(); my $fullgitinfo = 'iceman';