aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index d11aeefd3..8c4614a3d 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -322,7 +322,10 @@ protected
raise
end
end
- rescue
+ rescue SystemCallError
+ # usually because exec could not be find the command that was requested
+ raise
+ rescue
raise BuildError.new(cmd, args, $?)
end