fix issue.pl to use "new style" git commands
[spider.git] / perl / issue.pl
index 67417127cb3f4862a92b7cc9524841c5dc5c16aa..f7345c8ef50cac93321d067acdd9ac34a05961b0 100755 (executable)
@@ -2,7 +2,7 @@
 #
 # create a version and build id for the project using git ids
 #
-# $Id$
+#
 #
 # Copyright (c) 2007 Dirk Koopman, G1TLH
 #
@@ -18,7 +18,7 @@ use strict;
 
 use vars qw($root);
 my $fn = "$root/perl/Version.pm";
-my $desc = `git-describe`;
+my $desc = `git describe --long`;
 my ($v, $s, $b) = $desc =~ /^([\d.]+)(?:\.(\d+))?-(\d+)-/;
 $s ||= '0';            # account for missing subversion
 $b++;                  # to account for the commit that is about to happen