diff --git a/Library/Homebrew/extend/os/linux/keg_relocate.rb b/Library/Homebrew/extend/os/linux/keg_relocate.rb index 67e0c71ffd..dd08361de6 100644 --- a/Library/Homebrew/extend/os/linux/keg_relocate.rb +++ b/Library/Homebrew/extend/os/linux/keg_relocate.rb @@ -17,7 +17,6 @@ class Keg return if !file.elf? || !file.dynamic_elf? patchelf = DevelopmentTools.locate "patchelf" - cmd_rpath = [patchelf, "--print-rpath", file] old_rpath = Utils.popen_read(*cmd_rpath, err: :out).strip diff --git a/Library/Homebrew/test/spec_helper.rb b/Library/Homebrew/test/spec_helper.rb index 70b2b3d711..e9b8fa6adb 100644 --- a/Library/Homebrew/test/spec_helper.rb +++ b/Library/Homebrew/test/spec_helper.rb @@ -191,6 +191,7 @@ RSpec.configure do |config| CoreTap.instance.alias_dir, CoreTap.instance.path/"formula_renames.json", *Pathname.glob("#{HOMEBREW_CELLAR}/*/"), + *Pathname.glob("testball*.bottle.tar.gz"), ] files_after_test = find_files