mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Make this work with older git, too (thanks danieldg)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10455 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
330f1c8fe0
commit
2547339727
@ -59,7 +59,7 @@ sub getrevision {
|
||||
my $data = `svn info 2>/dev/null`;
|
||||
if ($data eq "")
|
||||
{
|
||||
$data = `git describe --tags --always 2>/dev/null`;
|
||||
$data = `git describe --tags 2>/dev/null`;
|
||||
if ($data eq "")
|
||||
{
|
||||
$no_svn = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user