cleanup: fix and reuse portable ruby logic.
Align the logic in `cleanup_portable_ruby` with that in `ruby.sh`. Co-authored-by:Maxim Belkin <maxim.belkin@gmail.com> Co-authored-by:
Mike McQuaid <mike@mikemcquaid.com>
Showing
- Library/Homebrew/brew.rb 8 additions, 2 deletionsLibrary/Homebrew/brew.rb
- Library/Homebrew/cleanup.rb 18 additions, 16 deletionsLibrary/Homebrew/cleanup.rb
- Library/Homebrew/extend/os/mac/diagnostic.rb 2 additions, 3 deletionsLibrary/Homebrew/extend/os/mac/diagnostic.rb
- Library/Homebrew/global.rb 1 addition, 0 deletionsLibrary/Homebrew/global.rb
- Library/Homebrew/test/cleanup_spec.rb 3 additions, 0 deletionsLibrary/Homebrew/test/cleanup_spec.rb
- Library/Homebrew/test/cmd/cleanup_spec.rb 9 additions, 0 deletionsLibrary/Homebrew/test/cmd/cleanup_spec.rb
- Library/Homebrew/utils/ruby.sh 7 additions, 6 deletionsLibrary/Homebrew/utils/ruby.sh
- Library/Homebrew/utils/ruby_check_version_script.rb 22 additions, 0 deletionsLibrary/Homebrew/utils/ruby_check_version_script.rb
Loading
Please register or sign in to comment