[Big Sur] Handle baseline search path (Follow-up fix)
authorjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Jun 2020 21:11:52 +0000 (21:11 +0000)
committerjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Jun 2020 21:11:52 +0000 (21:11 +0000)
https://bugs.webkit.org/show_bug.cgi?id=213639
<rdar://problem/64789480>

Unreviewed follow-up fix.

* Scripts/webkitpy/port/mac.py:
(MacPort.default_baseline_search_path): Copy reference version by value, not by reference.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@263583 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/port/mac.py

index 3d8fb0b..00d514c 100644 (file)
@@ -1,3 +1,14 @@
+2020-06-26  Jonathan Bedard  <jbedard@apple.com>
+
+        [Big Sur] Handle baseline search path (Follow-up fix)
+        https://bugs.webkit.org/show_bug.cgi?id=213639
+        <rdar://problem/64789480>
+
+        Unreviewed follow-up fix.
+
+        * Scripts/webkitpy/port/mac.py:
+        (MacPort.default_baseline_search_path): Copy reference version by value, not by reference.
+
 2020-06-26  Geoffrey Garen  <ggaren@apple.com>
 
         Initializing the main thread should initialize the main run loop
index 442de24..caa48d4 100644 (file)
@@ -88,7 +88,7 @@ class MacPort(DarwinPort):
                     if temp_version.minor > 0:
                         temp_version.minor -= 1
                     else:
-                        temp_version = self.LAST_MACOSX
+                        temp_version = Version(self.LAST_MACOSX.major, self.LAST_MACOSX.minor)
         wk_string = 'wk1'
         if self.get_option('webkit_test_runner'):
             wk_string = 'wk2'