aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-08-16 20:08:38 +0100
committerMike McQuaid2014-08-16 20:08:45 +0100
commit14bc05457eed0951506b36d9b413124db19dc93b (patch)
tree56567e30b8c239510ee04a5dd69b2996a9a26b27 /Library
parentc4be49a169e25707388513740729c5ecf4901fea (diff)
downloadhomebrew-14bc05457eed0951506b36d9b413124db19dc93b.tar.bz2
brew-pull: don't barf on syntax errors.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-pull.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Contributions/cmd/brew-pull.rb b/Library/Contributions/cmd/brew-pull.rb
index 5967eb0b9..f3e737479 100755
--- a/Library/Contributions/cmd/brew-pull.rb
+++ b/Library/Contributions/cmd/brew-pull.rb
@@ -99,7 +99,8 @@ ARGV.named.each do |arg|
begin
changed_formulae << Formula[name]
- rescue
+ # Make sure we catch syntax errors.
+ rescue Exception => e
next
end
end