summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-08-16 19:12:29 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-08-16 19:12:29 -0500
commit9ac9a381b16fde2bc1e5a5c59178c93e8f8fab67 (patch)
tree3ba72b92e40379b1cdde07665d332488054b5524
parent42495e17fe32ddcd947c8ac76b5c1b330e8b9879 (diff)
downloadbundler-9ac9a381b16fde2bc1e5a5c59178c93e8f8fab67.tar.gz
[Doctor] Insure checking for otool/lld is silent
-rw-r--r--lib/bundler/cli/doctor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli/doctor.rb b/lib/bundler/cli/doctor.rb
index 8fd862a1c2..a05579b36a 100644
--- a/lib/bundler/cli/doctor.rb
+++ b/lib/bundler/cli/doctor.rb
@@ -14,11 +14,11 @@ module Bundler
end
def otool_available?
- system("otool --version 2>&1 >#{Bundler::NULL}")
+ system("otool --version 2>#{Bundler::NULL} >#{Bundler::NULL}")
end
def ldd_available?
- !system("ldd --help 2>&1 >#{Bundler::NULL}").nil?
+ !system("ldd --help 2>#{Bundler::NULL} >#{Bundler::NULL}").nil?
end
def dylibs_darwin(path)