Title: [159398] trunk/Tools
Revision
159398
Author
[email protected]
Date
2013-11-17 23:06:14 -0800 (Sun, 17 Nov 2013)

Log Message

Unreviewed, fix this script for older Rubies where Pathname doesn't coerce to String
quite as easily.
        
With help from Andy Trick.

* Scripts/export-llvm-build:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (159397 => 159398)


--- trunk/Tools/ChangeLog	2013-11-18 05:42:18 UTC (rev 159397)
+++ trunk/Tools/ChangeLog	2013-11-18 07:06:14 UTC (rev 159398)
@@ -1,3 +1,12 @@
+2013-11-17  Filip Pizlo  <[email protected]>
+
+        Unreviewed, fix this script for older Rubies where Pathname doesn't coerce to String
+        quite as easily.
+        
+        With help from Andy Trick.
+
+        * Scripts/export-llvm-build:
+
 2013-11-15  Filip Pizlo  <[email protected]>
 
         FTL should have an explicit notion of bytecode liveness

Modified: trunk/Tools/Scripts/export-llvm-build (159397 => 159398)


--- trunk/Tools/Scripts/export-llvm-build	2013-11-18 05:42:18 UTC (rev 159397)
+++ trunk/Tools/Scripts/export-llvm-build	2013-11-18 07:06:14 UTC (rev 159398)
@@ -98,7 +98,7 @@
 end
 
 Dir.chdir($llvmPath + $llvmBuild + "lib") {
-    mysys("tar", "-c#{compressionChar}vf", $currentPath + $libraryPackage,
+    mysys("tar", "-c#{compressionChar}vf", ($currentPath + $libraryPackage).to_s,
           *Dir.entries('.').select {
               | value |
               value =~ /\.a$/ and value !~ /libgtest/
@@ -109,7 +109,7 @@
     | directory |
     directory = Pathname.new(directory).realpath
     Dir.chdir($llvmPath) {
-        mysys("svn", "export", "include", directory + "include")
+        mysys("svn", "export", "include", (directory + "include").to_s)
     }
     ["include/llvm/Config"].each {
         | genDirName |
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to