diff --git Source/JavaScriptCore/offlineasm/config.rb Source/JavaScriptCore/offlineasm/config.rb
adapted from index ba0043119f32..7811626db5e5 100644
|
|
|
23 | 23 | |
24 | 24 | buildProductsDirectory = ENV['BUILT_PRODUCTS_DIR']; |
25 | | if buildProductsDirectory and File.exists?(buildProductsDirectory) |
| 25 | if buildProductsDirectory and File.exist?(buildProductsDirectory) |
26 | 26 | $: << "#{buildProductsDirectory}/usr/local/include/WebKitAdditions/Scripts" |
27 | 27 | end |
28 | 28 | sdkRootDirectory = ENV['SDKROOT']; |
29 | | if sdkRootDirectory and File.exists?(sdkRootDirectory) |
| 29 | if sdkRootDirectory and File.exist?(sdkRootDirectory) |
30 | 30 | $: << "#{sdkRootDirectory}/usr/local/include/WebKitAdditions/Scripts" |
31 | 31 | end |
32 | 32 | |
diff --git Source/WebInspectorUI/Scripts/update-LegacyInspectorBackendCommands.rb Source/WebInspectorUI/Scripts/update-LegacyInspectorBackendCommands.rb
index 680dee7406d1..40737afaa4c5 100755
|
|
|
36 | 36 | end |
37 | 37 | |
38 | 38 | generated_path = File.join tmpdir, output_filename |
39 | | if !File.exists?(generated_path) |
| 39 | if !File.exist?(generated_path) |
40 | 40 | puts "ERROR: Generated file does not exist at expected path." |
41 | 41 | exit 1 |
42 | 42 | end |