From 63295fd81af2b3fa5dc8e933f904b6959727f62e Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Mon, 3 Oct 2016 02:42:33 -0700 Subject: have opt alias symlink point into the Cellar in case people expect to be able to find the prefix by only resolving the symlink once (e.g., if they're using readlink not realpath) --- Library/Homebrew/keg.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index 06ac68310..dfbf0ad98 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -479,7 +479,7 @@ class Keg aliases.each do |a| alias_opt_record = opt_record.parent/a alias_opt_record.delete if alias_opt_record.symlink? || alias_opt_record.exist? - make_relative_symlink(alias_opt_record, opt_record, mode) + make_relative_symlink(alias_opt_record, path, mode) end return unless oldname_opt_record -- cgit v1.2.3