X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=4ce4436a9b3322689e8050db11528c1b3655004e;hb=981ca37d6641404548a13623b90438f8f1c87ded;hp=ef17e9bb350024db87fde6295a916e427c671daf;hpb=c03f650283bacec6f68390d98c97e12fe7d83742;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index ef17e9bb3..4ce4436a9 100755 --- a/configure +++ b/configure @@ -101,6 +101,21 @@ 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") { + system("make install"); + } + exit; +} + if ($arg eq "-modupdate") { # Does the cache file exist? if (!getcache()) {