[tools] testbot/PatchUtils: Escape dots in regular expressions.
Francois Gouget
fgouget at codeweavers.com
Wed Mar 11 03:52:33 CDT 2020
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/lib/WineTestBot/PatchUtils.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testbot/lib/WineTestBot/PatchUtils.pm b/testbot/lib/WineTestBot/PatchUtils.pm
index 07e61225e0..49bf10126b 100644
--- a/testbot/lib/WineTestBot/PatchUtils.pm
+++ b/testbot/lib/WineTestBot/PatchUtils.pm
@@ -259,7 +259,7 @@ sub _HandleFile($$$)
if ($FilePath !~ /^(?:$IgnoredPathsRe)/)
{
$Impacts->{PatchedRoot} = 1;
- if ($FilePath =~ m~/Makefile.in$~ and $Change ne "modify")
+ if ($FilePath =~ m~/Makefile\.in$~ and $Change ne "modify")
{
# This adds / removes a directory
$Impacts->{MakeMakefiles} = 1;
@@ -267,7 +267,7 @@ sub _HandleFile($$$)
}
# Else patches to this file don't impact the Wine build.
}
- elsif ($FilePath =~ m~/Makefile.in$~ and $Change eq "new")
+ elsif ($FilePath =~ m~/Makefile\.in$~ and $Change eq "new")
{
# This may or may not be a Wine patch but the new Makefile.in will be
# added to the build by make_makefiles.
--
2.20.1
More information about the wine-devel
mailing list