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
7963dbfc
Commit
7963dbfc
authored
14 years ago
by
Adam Vandenberg
Browse files
Options
Downloads
Patches
Plain Diff
Prefix check.
parent
5de328da
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Library/Homebrew/brew_doctor.rb
+8
-0
8 additions, 0 deletions
Library/Homebrew/brew_doctor.rb
with
8 additions
and
0 deletions
Library/Homebrew/brew_doctor.rb
+
8
−
0
View file @
7963dbfc
...
...
@@ -59,6 +59,13 @@ def check_usr_bin_ruby
end
def
check_homebrew_prefix
unless
HOMEBREW_PREFIX
.
to_s
==
'/usr/local'
puts
<<-
EOS
.
undent
You can install Homebrew anywhere you want, but some brews may not work
correctly if you're not installing to /usr/local.
EOS
end
end
def
brew_doctor
...
...
@@ -69,6 +76,7 @@ def brew_doctor
$stdout
.
reopen
write
check_usr_bin_ruby
check_homebrew_prefix
check_for_stray_dylibs
check_gcc_versions
check_for_other_package_managers
...
...
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