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
4ea3997d
Commit
4ea3997d
authored
10 years ago
by
Jack Nagel
Browse files
Options
Downloads
Patches
Plain Diff
Pass the mode through the optlink method
parent
548d66be
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/keg.rb
+3
-3
3 additions, 3 deletions
Library/Homebrew/keg.rb
with
3 additions
and
3 deletions
Library/Homebrew/keg.rb
+
3
−
3
View file @
4ea3997d
...
...
@@ -301,7 +301,7 @@ class Keg
unless
mode
.
dry_run
make_relative_symlink
(
linked_keg_record
,
path
,
mode
)
optlink
optlink
(
mode
)
end
rescue
LinkError
unlink
...
...
@@ -310,9 +310,9 @@ class Keg
ObserverPathnameExtension
.
total
end
def
optlink
def
optlink
(
mode
=
OpenStruct
.
new
)
opt_record
.
delete
if
opt_record
.
symlink?
||
opt_record
.
exist?
make_relative_symlink
(
opt_record
,
path
)
make_relative_symlink
(
opt_record
,
path
,
mode
)
end
def
delete_pyc_files!
...
...
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