X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c3b6fdfa5b30ad77457a2bae99db69bcd09e2968..318bae20def6e9fda702698ae4e83fa67b18cd7f:/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';