Skip to content
Snippets Groups Projects
Commit 63295fd8 authored by ilovezfs's avatar ilovezfs Committed by Mike McQuaid
Browse files

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)
parent 4c922a08
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment