mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 02:27:26 -07:00
CHG: a different version string when compiling on systems without git or the release tags.
This commit is contained in:
parent
22635d611e
commit
d515e7a3a0
1 changed files with 7 additions and 1 deletions
|
@ -18,7 +18,13 @@ my $gitbranch = `git rev-parse --abbrev-ref HEAD`;
|
|||
my $clean = 2;
|
||||
my @compiletime = gmtime();
|
||||
|
||||
my $fullgitinfo = 'iceman' . $gitbranch . '/' . $gitversion;
|
||||
my $fullgitinfo = 'iceman';
|
||||
|
||||
if ( defined $gitbranch and defined $gitversion ) {
|
||||
$fullgitinfo = '/'. $gitbranch . '/' . $gitversion;
|
||||
} else {
|
||||
$fullgitinfo = '/master/release-build (no_git)';
|
||||
}
|
||||
|
||||
$fullgitinfo =~ s/(\s)//g;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue