diff options
| author | Jack Nagel | 2015-03-14 01:51:04 -0400 |
|---|---|---|
| committer | Jack Nagel | 2015-03-14 01:51:53 -0400 |
| commit | 59bc82acad08cfc6fcbbdcb547e5b9fa3cf4bde3 (patch) | |
| tree | b9c0241c43f8eec9f683078a7937a5f0cf6b1fcf /Library | |
| parent | 24182f2a9d06de44e22524b1e340ef0f45711d3f (diff) | |
| download | homebrew-59bc82acad08cfc6fcbbdcb547e5b9fa3cf4bde3.tar.bz2 | |
Simplify skip_executables option
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/keg_fix_install_names.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/keg_fix_install_names.rb b/Library/Homebrew/keg_fix_install_names.rb index 6ab8b15f6..c0229497e 100644 --- a/Library/Homebrew/keg_fix_install_names.rb +++ b/Library/Homebrew/keg_fix_install_names.rb @@ -73,8 +73,7 @@ class Keg # Note that this doesn't attempt to distinguish between libstdc++ versions, # for instance between Apple libstdc++ and GNU libstdc++ def detect_cxx_stdlibs(options={}) - options = { :skip_executables => false }.merge(options) - skip_executables = options[:skip_executables] + skip_executables = options.fetch(:skip_executables, false) results = Set.new mach_o_files.each do |file| |
