summaryrefslogtreecommitdiff
path: root/make/configure.pm
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-06-05 00:28:17 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-06-05 00:28:17 +0000
commit021c8e984b2091fabcf6881b911db45e08979e72 (patch)
tree273d9b81a3794de81a2963d5f1f4fbf90afd9975 /make/configure.pm
parent746f63b2feb4646977ae29f53fb54b0d1e7a85ea (diff)
Add daniel's third-party module repository
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11401 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/configure.pm')
-rw-r--r--make/configure.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/configure.pm b/make/configure.pm
index 40d6f6749..05db6004e 100644
--- a/make/configure.pm
+++ b/make/configure.pm
@@ -126,7 +126,7 @@ sub getmodversion {
my ($file) = @_;
open(FLAGS, $file) or return "";
while (<FLAGS>) {
- if ($_ =~ /^\/\* \$ModVersion: (.+) \*\/$/) {
+ if (m#(?:^/* \$|")ModVersion: (\S+)(?: \*\/$|")#) {
my $x = translate_functions($1, $file);
next if ($x eq "");
close(FLAGS);