summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/configure.pm10
1 files changed, 7 insertions, 3 deletions
diff --git a/make/configure.pm b/make/configure.pm
index ba586e3e6..68e4240f9 100644
--- a/make/configure.pm
+++ b/make/configure.pm
@@ -59,9 +59,13 @@ sub getrevision {
my $data = `svn info`;
if ($data eq "")
{
- $no_svn = 1;
- my $rev = "0";
- return $rev;
+ $data = `git-svn info`;
+ if ($data eq "")
+ {
+ $no_svn = 1;
+ my $rev = "0";
+ return $rev;
+ }
}
$data =~ /Revision: (\d+)/;
my $rev = $1;