diff options
| author | Mike McQuaid | 2013-03-11 18:56:26 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-03-11 18:58:37 +0000 |
| commit | 0f9910d352e460fe7d93544d91cdc1eb53a9631c (patch) | |
| tree | bd424a5196ae9896a632a1686fdb9debffef4442 /Library/Homebrew/test | |
| parent | 258d70028f359e88b3300fdd1b8442428ef75826 (diff) | |
| download | brew-0f9910d352e460fe7d93544d91cdc1eb53a9631c.tar.bz2 | |
Relocate bottles using install_name_tool.
This has two parts:
1. Bottles are temporarily relocated on bottling and tested if that is
sufficient for them to contain no longer reference the prefix or
cellar. If so, they are marked as relocatable.
2. On installation if bottles are marked as relocatable they will be
relocated using install_name_tool to the current prefix and cellar.
Closes Homebrew/homebrew#18374.
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/testball.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/test/testball.rb b/Library/Homebrew/test/testball.rb index d3054810a..f685f5e2c 100644 --- a/Library/Homebrew/test/testball.rb +++ b/Library/Homebrew/test/testball.rb @@ -221,6 +221,7 @@ class AllCatsBottleSpecTestBall < Formula sha1 '482e737739d946b7c8cbaf127d9ee9c148b999f5' bottle do + prefix '/private/tmp/testbrew/prefix' cellar '/private/tmp/testbrew/cellar' sha1 'deadbeefdeadbeefdeadbeefdeadbeefdeadbeef' => :snow_leopard_32 sha1 'faceb00cfaceb00cfaceb00cfaceb00cfaceb00c' => :snow_leopard |
