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
37e2005e
Commit
37e2005e
authored
11 years ago
by
Mike McQuaid
Browse files
Options
Downloads
Patches
Plain Diff
Use HOMEBREW_LOGS more consistently.
parent
80c7a80a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Library/Homebrew/cmd/doctor.rb
+1
-2
1 addition, 2 deletions
Library/Homebrew/cmd/doctor.rb
Library/Homebrew/exceptions.rb
+1
-1
1 addition, 1 deletion
Library/Homebrew/exceptions.rb
with
2 additions
and
3 deletions
Library/Homebrew/cmd/doctor.rb
+
1
−
2
View file @
37e2005e
...
...
@@ -381,8 +381,7 @@ end
end
def
check_access_logs
folder
=
Pathname
.
new
(
'~/Library/Logs/Homebrew'
)
if
folder
.
exist?
and
not
folder
.
writable_real?
if
HOMEBREW_LOGS
.
exist?
and
not
HOMEBREW_LOGS
.
writable_real?
<<-
EOS
.
undent
#{
folder
}
isn't writable.
This can happen if you "sudo make install" software that isn't managed
...
...
This diff is collapsed.
Click to expand it.
Library/Homebrew/exceptions.rb
+
1
−
1
View file @
37e2005e
...
...
@@ -200,7 +200,7 @@ class BuildError < Homebrew::InstallationError
Homebrew
.
dump_build_env
(
env
)
puts
onoe
"
#{
formula
.
name
}
did not build"
unless
(
logs
=
Dir
[
"
#{
ENV
[
'HOME'
]
}
/Library/Logs/Homebrew
/
#{
formula
}
/*"
]).
empty?
unless
(
logs
=
Dir
[
"
#{
HOMEBREW_LOGS
}
/
#{
formula
}
/*"
]).
empty?
puts
"Logs:"
puts
logs
.
map
{
|
fn
|
"
#{
fn
}
"
}.
join
(
"
\n
"
)
end
...
...
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