Francois Gouget : testbot/PatchUtils: Escape dots in regular expressions.

Alexandre Julliard julliard at winehq.org
Wed Mar 11 17:37:11 CDT 2020


Module: tools
Branch: master
Commit: 5f3c3e46f4ea27b05eb3189d564b6883171c96da
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=5f3c3e46f4ea27b05eb3189d564b6883171c96da

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Mar 11 09:52:33 2020 +0100

testbot/PatchUtils: Escape dots in regular expressions.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 07e6122..49bf101 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.




More information about the wine-cvs mailing list