summaryrefslogtreecommitdiff
path: root/nacl/nacl-config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'nacl/nacl-config.rb')
-rwxr-xr-x[-rw-r--r--]nacl/nacl-config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/nacl/nacl-config.rb b/nacl/nacl-config.rb
index b90c9ed100..2da05c0847 100644..100755
--- a/nacl/nacl-config.rb
+++ b/nacl/nacl-config.rb
@@ -34,7 +34,7 @@ module NaClConfig
IRT_CORE = [
File.join(SDK_ROOT, 'toolchain', config['NACL_TOOLCHAIN'], 'bin', "irt_core_#{cpu_nick}.nexe"),
File.join(SDK_ROOT, 'tools', "irt_core_#{cpu_nick}.nexe")
- ].find{|path| File.executable?(path)} or raise "No irt_core found"
+ ].find{|path| File.exist?(path)} or raise "No irt_core found"
RUNNABLE_LD = File.join(HOST_LIB, 'runnable-ld.so')
module_function