summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-13 20:51:09 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-13 20:51:09 +0000
commit78db8a3413c8e030e73c47abb4ba7f3d7d91aa5a (patch)
treed26ca302e16703c4b4fec5739a852a7cbf30ab7a
parent8e5f363f23b366e855521e8e6baf62622959bd0f (diff)
Fixed to show proper 'r0' on non-svn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3705 e03df62e-2008-0410-955e-edbf42e46eb7
-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)) {