Title: [136195] trunk/Tools
Revision
136195
Author
[email protected]
Date
2012-11-29 18:23:25 -0800 (Thu, 29 Nov 2012)

Log Message

webkitpy: autoinstaller is failing on windows
https://bugs.webkit.org/show_bug.cgi?id=103699

Unreviewed, build fix.

We're attempting to create directories with forward slashes in them;
this is a no-no on windows.

* Scripts/webkitpy/common/system/autoinstall.py:
(AutoInstaller._create_scratch_directory_inner):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (136194 => 136195)


--- trunk/Tools/ChangeLog	2012-11-30 02:22:20 UTC (rev 136194)
+++ trunk/Tools/ChangeLog	2012-11-30 02:23:25 UTC (rev 136195)
@@ -1,5 +1,18 @@
 2012-11-29  Dirk Pranke  <[email protected]>
 
+        webkitpy: autoinstaller is failing on windows
+        https://bugs.webkit.org/show_bug.cgi?id=103699
+
+        Unreviewed, build fix.
+
+        We're attempting to create directories with forward slashes in them;
+        this is a no-no on windows.
+
+        * Scripts/webkitpy/common/system/autoinstall.py:
+        (AutoInstaller._create_scratch_directory_inner):
+
+2012-11-29  Dirk Pranke  <[email protected]>
+
         Fix python unit tests after r136158 (android port tests failing)
         https://bugs.webkit.org/show_bug.cgi?id=103581
 

Modified: trunk/Tools/Scripts/webkitpy/common/system/autoinstall.py (136194 => 136195)


--- trunk/Tools/Scripts/webkitpy/common/system/autoinstall.py	2012-11-30 02:22:20 UTC (rev 136194)
+++ trunk/Tools/Scripts/webkitpy/common/system/autoinstall.py	2012-11-30 02:23:25 UTC (rev 136195)
@@ -146,7 +146,7 @@
         # The tempfile.mkdtemp() method function requires that the
         # directory corresponding to the "dir" parameter already exist
         # if it is not None.
-        scratch_dir = tempfile.mkdtemp(prefix=prefix, dir=self._temp_dir)
+        scratch_dir = tempfile.mkdtemp(prefix=prefix.replace('/', '.'), dir=self._temp_dir)
         return scratch_dir
 
     def _create_scratch_directory(self, target_name):
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to