Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
5f1a9098
Commit
5f1a9098
authored
13 years ago
by
Mike McQuaid
Browse files
Options
Downloads
Patches
Plain Diff
Add better Unix exit codes.
Closes Homebrew/homebrew#10809.
parent
a005834d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Library/Homebrew/cmd/doctor.rb
+1
-0
1 addition, 0 deletions
Library/Homebrew/cmd/doctor.rb
Library/Homebrew/cmd/install.rb
+1
-0
1 addition, 0 deletions
Library/Homebrew/cmd/install.rb
Library/Homebrew/cmd/upgrade.rb
+2
-0
2 additions, 0 deletions
Library/Homebrew/cmd/upgrade.rb
with
4 additions
and
0 deletions
Library/Homebrew/cmd/doctor.rb
+
1
−
0
View file @
5f1a9098
...
...
@@ -836,5 +836,6 @@ module Homebrew extend self
end
puts
"Your system is raring to brew."
if
raring_to_brew
exit
raring_to_brew
?
0
:
1
end
end
This diff is collapsed.
Click to expand it.
Library/Homebrew/cmd/install.rb
+
1
−
0
View file @
5f1a9098
...
...
@@ -87,6 +87,7 @@ module Homebrew extend self
fi
.
finish
rescue
CannotInstallFormulaError
=>
e
onoe
e
.
message
exit
1
end
end
end
...
...
This diff is collapsed.
Click to expand it.
Library/Homebrew/cmd/upgrade.rb
+
2
−
0
View file @
5f1a9098
...
...
@@ -66,9 +66,11 @@ module Homebrew extend self
installer
.
finish
rescue
CannotInstallFormulaError
=>
e
onoe
e
exit
1
rescue
BuildError
=>
e
e
.
dump
puts
exit
1
ensure
# restore previous installation state if build failed
outdated_keg
.
link
if
outdated_keg
and
not
f
.
installed?
rescue
nil
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment