]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - configure
Yet more const ref changes
[user/henk/code/inspircd.git] / configure
index 7192a8e97ed6852b3724bdc0981cf2a4f71a48d8..4ce4436a9b3322689e8050db11528c1b3655004e 100755 (executable)
--- a/configure
+++ b/configure
@@ -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") {