X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c3b6fdfa5b30ad77457a2bae99db69bcd09e2968..aed36ae5bd6f1770269e22a6f9e1a2688022f90b:/tools/mkversion.pl 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';