diff options
author | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-02 01:10:35 +0000 |
---|---|---|
committer | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-02 01:10:35 +0000 |
commit | 920ddd918001b84f34c2f8a797a40a85694c6893 (patch) | |
tree | d22d0661fdd28938319ea1df737cd532ef64b227 /configure | |
parent | 741682d5c54bcf9bb2c0dc79dc2c318b7df9381c (diff) |
Forgot about .*.inc files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9054 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -493,6 +493,7 @@ sub svnupdate my $configurechanged = 0; # Needs ./configure -update my $coredirchanged = 0; # Needs ./configure -update my $moduledirchanged = 0; # Needs ./configure -modupdate + my $rootincchanged = 0; my @conflicted = (); while (defined(my $line = <$fd>)) { @@ -507,7 +508,7 @@ sub svnupdate { $configurechanged = 1; } - if ($file =~ m#^src/modules#) + elsif ($file =~ m#^src/modules#) { $moduledirchanged = 1; } @@ -515,6 +516,10 @@ sub svnupdate { $coredirchanged = 1; } + elsif ($file =~ m/^\..*\.inc$/) + { + $rootincchanged = 1; + } } elsif ($action eq "U" || $action eq "G") { @@ -522,6 +527,10 @@ sub svnupdate { $configurechanged = 1; } + elsif ($file =~ m/^\..*\.inc$/) + { + $rootincchanged = 1; + } } elsif ($action eq "A" || $action eq "D") { @@ -556,7 +565,7 @@ sub svnupdate { system("perl configure -update"); } - elsif ($moduledirchanged) + elsif ($moduledirchanged || $rootincchanged) { system("perl configure -modupdate"); } |