diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-13 20:51:09 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-13 20:51:09 +0000 |
commit | 78db8a3413c8e030e73c47abb4ba7f3d7d91aa5a (patch) | |
tree | d26ca302e16703c4b4fec5739a852a7cbf30ab7a | |
parent | 8e5f363f23b366e855521e8e6baf62622959bd0f (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-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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)) { |