Auto::GR renamed to $Auto::VERGITREV.

This commit is contained in:
Elijah Perrault committed 2011-02-26 23:11:37 -07:00
1 parent ef75910c0e
commit f7b5428c60
3 files changed
+6 -2

No files matched your search

+4 -1
View File
@@ -21,6 +21,10 @@ our $Bin = $Bin; ## no critic qw(NamingConventions::Capitalization Variables::Pr
BEGIN {
unshift @INC, "$Bin/../lib";
open my $gitfh, '<', "$Bin/../.git/refs/heads/indev";
our $VERGITREV = substr readline $gitfh, 0, 7;
close $gitfh;
# Set version information.
use constant { ## no critic qw(ValuesAndExpressions::ProhibitConstantPragma)
NAME => 'Auto IRC Bot',
@@ -28,7 +32,6 @@ BEGIN {
SVER => 0,
REV => 0,
RSTAGE => 'd',
GR => substr `cat $Bin/../.git/refs/heads/indev`, 0, 7
};
}
use Lib::Auto;