]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - tools/mkversion.pl
FIX: this should remove some warnings while compiling on linux and when running Travi...
[proxmark3-svn] / tools / mkversion.pl
index 19616441ad15e0338e688b02c6d8be84bb7f9ace..fe6ee0c70f51dc0245815217cfce83acac5d340a 100644 (file)
@@ -5,18 +5,20 @@
 # -- Henryk Plötz <henryk@ploetzli.ch> 2009-09-28
 # Modified april 2014 because of the move to github. 
 # --- Martin Holst Swende <martin@swende.se>
-
+# Modified january 2016 to work with Travis-CI
+# --- iceman <iceman@iuse.se>
 
 # Clear environment locale so that git will not use localized strings
 $ENV{'LC_ALL'} = "C";
 $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 @compiletime = gmtime();
 
-my $fullgitinfo = $gitbranch . '/' . $gitversion;
+my $fullgitinfo = 'iceman' . $gitbranch . '/' . $gitversion;
 
 $fullgitinfo =~ s/(\s)//g;
 
Impressum, Datenschutz