Title: [163202] trunk/Tools
- Revision
- 163202
- Author
- [email protected]
- Date
- 2014-01-31 14:23:09 -0800 (Fri, 31 Jan 2014)
Log Message
Unreviewed, fix the script for older Rubies.
* Scripts/export-llvm-build:
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (163201 => 163202)
--- trunk/Tools/ChangeLog 2014-01-31 22:21:27 UTC (rev 163201)
+++ trunk/Tools/ChangeLog 2014-01-31 22:23:09 UTC (rev 163202)
@@ -1,5 +1,11 @@
2014-01-31 Filip Pizlo <[email protected]>
+ Unreviewed, fix the script for older Rubies.
+
+ * Scripts/export-llvm-build:
+
+2014-01-31 Filip Pizlo <[email protected]>
+
Having a custom LLVM checkout should always override all other ways of getting LLVM
https://bugs.webkit.org/show_bug.cgi?id=128015
Modified: trunk/Tools/Scripts/export-llvm-build (163201 => 163202)
--- trunk/Tools/Scripts/export-llvm-build 2014-01-31 22:21:27 UTC (rev 163201)
+++ trunk/Tools/Scripts/export-llvm-build 2014-01-31 22:23:09 UTC (rev 163202)
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-# Copyright (C) 2013 Apple Inc. All rights reserved.
+# Copyright (C) 2013, 2014 Apple Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -29,7 +29,8 @@
require 'tmpdir'
def mysys(*cmd)
- commandArray = cmd.each{|value| Shellwords.shellescape(value.to_s)}.join(' ')
+ cmd = cmd.map{|value| value.to_s}
+ commandArray = cmd.map{|value| Shellwords.shellescape(value)}.join(' ')
$stderr.puts ">> #{commandArray}"
riase unless system(*cmd)
end
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes