diff options
| author | ilovezfs | 2016-10-03 02:42:33 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2017-02-20 14:14:04 +0000 |
| commit | 63295fd81af2b3fa5dc8e933f904b6959727f62e (patch) | |
| tree | dc7afe765a7dfcc94d65467b683d91a1900bb1a2 /Library | |
| parent | 4c922a089bf2bb8ff379291c90d46b91978dbbb4 (diff) | |
| download | brew-63295fd81af2b3fa5dc8e933f904b6959727f62e.tar.bz2 | |
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)
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/keg.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
