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