summaryrefslogtreecommitdiff
path: root/make/configure.pm
diff options
context:
space:
mode:
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);