aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/bottle.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb
index 659f8e75a..5f7df309e 100644
--- a/Library/Homebrew/cmd/bottle.rb
+++ b/Library/Homebrew/cmd/bottle.rb
@@ -83,6 +83,19 @@ module Homebrew extend self
result = true
end
+ index = 0
+ Pathname.new(keg).find do |pn|
+ if pn.symlink? && (link = pn.readlink).absolute?
+ if link.to_s.start_with?(string)
+ opoo "Absolute symlink starting with #{string}:" if index.zero?
+ puts " #{pn} -> #{pn.resolved_path}"
+ end
+
+ index += 1
+ result = true
+ end
+ end
+
result
end