From 0f9910d352e460fe7d93544d91cdc1eb53a9631c Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 11 Mar 2013 18:56:26 +0000 Subject: 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. --- Library/Homebrew/test/testball.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library/Homebrew/test') 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 -- cgit v1.2.3