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
8d7ebb8b
Commit
8d7ebb8b
authored
15 years ago
by
Adam Vandenberg
Browse files
Options
Downloads
Patches
Plain Diff
length, not count. Fixes issue 55.
parent
50b981a4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/brew
+2
-2
2 additions, 2 deletions
bin/brew
with
2 additions
and
2 deletions
bin/brew
+
2
−
2
View file @
8d7ebb8b
...
...
@@ -78,7 +78,7 @@ begin
end
end
if ARGV.interactive? and ARGV.formulae.
count
> 1
if ARGV.interactive? and ARGV.formulae.
length
> 1
# the reason for this is interactive mode is a little tricky to do
# with more than one formula, AND I can't think of a time where you'd
# want to do it anyway. If someone comes up with a legitimate use for
...
...
@@ -94,7 +94,7 @@ begin
formulae = ARGV.formulae.reject do |f|
if f.installed?
message = "Formula already installed:
#{
f
.
prefix
}
"
if ARGV.formulae.
count
> 1
if ARGV.formulae.
length
> 1
opoo message
else
puts message # if only one is being installed a warning looks severe
...
...
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