CHG: got insperation from https://github.com/menshiyun/proxmark3/commits/local and the clean variable.

This commit is contained in:
iceman1001 2016-12-07 17:06:15 +01:00
parent b7f40ee2ad
commit dbbc82968c

View file

@ -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';