aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-09-20 08:03:06 +0100
committerMike McQuaid2016-09-20 08:03:06 +0100
commit8bf405e5f78a9537ce8637e87b0f3e33cbbbd3bb (patch)
tree63dcbf44392cac87ef2964965ad5bb27f0b0d0fc /Library
parent1f128331b61e50cb9e3c50b759cd1f328960061d (diff)
downloadbrew-8bf405e5f78a9537ce8637e87b0f3e33cbbbd3bb.tar.bz2
update-report: print message on completion link failure.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/update-report.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb
index e6a3f8ced..1d58018b3 100644
--- a/Library/Homebrew/cmd/update-report.rb
+++ b/Library/Homebrew/cmd/update-report.rb
@@ -302,6 +302,11 @@ module Homebrew
link_src_dst_dirs(repository/"share/zsh/site-functions",
HOMEBREW_PREFIX/"share/zsh/site-functions", command)
link_path_manpages(repository/"share", command)
+ rescue => e
+ ofail <<-EOS.undent
+ Failed to link all completions, docs and manpages:
+ #{e}
+ EOS
end
end