Title: [163411] trunk/Tools
- Revision
- 163411
- Author
- fpi...@apple.com
- Date
- 2014-02-04 15:50:03 -0800 (Tue, 04 Feb 2014)
Log Message
export-llvm-build should work with git checkouts
https://bugs.webkit.org/show_bug.cgi?id=128217
Reviewed by Mark Hahnenberg.
If svn export fails, just do ditto.
* Scripts/export-llvm-build:
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (163410 => 163411)
--- trunk/Tools/ChangeLog 2014-02-04 23:40:42 UTC (rev 163410)
+++ trunk/Tools/ChangeLog 2014-02-04 23:50:03 UTC (rev 163411)
@@ -1,3 +1,14 @@
+2014-02-04 Filip Pizlo <fpi...@apple.com>
+
+ export-llvm-build should work with git checkouts
+ https://bugs.webkit.org/show_bug.cgi?id=128217
+
+ Reviewed by Mark Hahnenberg.
+
+ If svn export fails, just do ditto.
+
+ * Scripts/export-llvm-build:
+
2014-02-04 Carlos Garnacho <carl...@gnome.org>
[Automake] Add missing $(feature_defines) when generating InjectedBundle bindings
Modified: trunk/Tools/Scripts/export-llvm-build (163410 => 163411)
--- trunk/Tools/Scripts/export-llvm-build 2014-02-04 23:40:42 UTC (rev 163410)
+++ trunk/Tools/Scripts/export-llvm-build 2014-02-04 23:50:03 UTC (rev 163411)
@@ -32,7 +32,7 @@
cmd = cmd.map{|value| value.to_s}
commandArray = cmd.map{|value| Shellwords.shellescape(value)}.join(' ')
$stderr.puts ">> #{commandArray}"
- riase unless system(*cmd)
+ raise unless system(*cmd)
end
$libraryPackage = Pathname.new("LLVMLibraries.tar.bz2")
@@ -110,7 +110,11 @@
| directory |
directory = Pathname.new(directory).realpath
Dir.chdir($llvmPath) {
- mysys("svn", "export", "include", (directory + "include").to_s)
+ begin
+ mysys("svn", "export", "include", directory + "include")
+ rescue
+ mysys("ditto", "include", directory + "include")
+ end
}
["include/llvm/Config"].each {
| genDirName |
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes