mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 18:49:03 -04:00
Also redirect errors to /dev/null to avoid messy output on VCS that aren't installed/in use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10434 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
f66960886f
commit
3de8d7eee4
@ -56,10 +56,10 @@ sub getrevision {
|
||||
{
|
||||
return "0";
|
||||
}
|
||||
my $data = `svn info`;
|
||||
my $data = `svn info 2>/dev/null`;
|
||||
if ($data eq "")
|
||||
{
|
||||
$data = `git-svn info`;
|
||||
$data = `git-svn info 2>/dev/null`;
|
||||
if ($data eq "")
|
||||
{
|
||||
$no_svn = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user