From 021c8e984b2091fabcf6881b911db45e08979e72 Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 5 Jun 2009 00:28:17 +0000 Subject: Add daniel's third-party module repository git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11401 e03df62e-2008-0410-955e-edbf42e46eb7 --- make/configure.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make/configure.pm') 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 () { - if ($_ =~ /^\/\* \$ModVersion: (.+) \*\/$/) { + if (m#(?:^/* \$|")ModVersion: (\S+)(?: \*\/$|")#) { my $x = translate_functions($1, $file); next if ($x eq ""); close(FLAGS); -- cgit v1.2.3