summaryrefslogtreecommitdiffstats
path: root/RPM4/src/Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'RPM4/src/Makefile.PL')
-rw-r--r--RPM4/src/Makefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/RPM4/src/Makefile.PL b/RPM4/src/Makefile.PL
index 595fea8..1e2c621 100644
--- a/RPM4/src/Makefile.PL
+++ b/RPM4/src/Makefile.PL
@@ -43,7 +43,7 @@ foreach (qw(
$v = $_;
$v =~ s/\./_/g;
print $FH "#define RPM$v\n";
- $rpmv eq $_ and last;
+ $rpmv =~ /^\Q$_/ and last;
}
print $FH "\n#endif\n";
close($FH);