summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index df7cbd5f3..2585e7612 100755
--- a/configure
+++ b/configure
@@ -886,6 +886,10 @@ sub getmodules {
sub getrevision {
my $data = `svn info`;
+ if ($data eq "") {
+ $rev = "r0";
+ return $rev;
+ }
$data =~ /Revision: (\d+)/;
my $rev = $1;
if (!defined($rev)) {