diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-10 19:40:05 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-10 19:40:05 +0000 |
commit | 891a6f193fd119230162c2c8d30d486c471da583 (patch) | |
tree | 5128e2d5e692d7210a4318708b526af8903e5064 /configure | |
parent | a47b242c9f2504228bb463305fac6f2235193215 (diff) |
Check if we're running -svnupdate on an svn version
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3647 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -102,6 +102,12 @@ if ($arg eq "-update") { } if ($arg eq "-svnupdate") { + my $fail = 0; + open(FH,"<.svn/entries") or $fail = 1; + if ($fail) { + print "This is not an SVN copy of InspIRCd.\n"; + exit; + } system("svn update"); system("perl configure -update"); if ($ARGV[1] eq "rebuild") { |