Title: [93649] trunk/Tools
Revision
93649
Author
[email protected]
Date
2011-08-23 16:07:20 -0700 (Tue, 23 Aug 2011)

Log Message

Fix mergeChangeLogs test on native windows
https://bugs.webkit.org/show_bug.cgi?id=66797

Reviewed by Adam Roben.

Windows has no /tmp/ directory and the "TMPDIR" environment variable isn't set in the default setup.
Add the "TEMP" environment variable as additional source for the temporary directory used in writeTempFile.

* Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl:
(writeTempFile):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (93648 => 93649)


--- trunk/Tools/ChangeLog	2011-08-23 23:05:10 UTC (rev 93648)
+++ trunk/Tools/ChangeLog	2011-08-23 23:07:20 UTC (rev 93649)
@@ -1,3 +1,16 @@
+2011-08-23  Patrick Gansterer  <[email protected]>
+
+        Fix mergeChangeLogs test on native windows
+        https://bugs.webkit.org/show_bug.cgi?id=66797
+
+        Reviewed by Adam Roben.
+
+        Windows has no /tmp/ directory and the "TMPDIR" environment variable isn't set in the default setup.
+        Add the "TEMP" environment variable as additional source for the temporary directory used in writeTempFile.
+
+        * Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl:
+        (writeTempFile):
+
 2011-08-23  Dimitri Glazkov  <[email protected]>
 
         garden-o-matic relative time is wrong and updates too frequently.

Modified: trunk/Tools/Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl (93648 => 93649)


--- trunk/Tools/Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl	2011-08-23 23:05:10 UTC (rev 93648)
+++ trunk/Tools/Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl	2011-08-23 23:07:20 UTC (rev 93649)
@@ -50,7 +50,7 @@
 
     my ($FH, $fileName) = tempfile(
         $name . "-XXXXXXXX",
-        DIR => ($ENV{'TMPDIR'} || "/tmp"),
+        DIR => ($ENV{'TMPDIR'} || $ENV{'TEMP'} || "/tmp"),
         UNLINK => 0,
     );
     print $FH $content;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to