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
82ad6a56
Unverified
Commit
82ad6a56
authored
4 years ago
by
Maxim Belkin
Browse files
Options
Downloads
Patches
Plain Diff
Address review comments.
parent
2b6c1e22
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/cmd/update.sh
+6
-4
6 additions, 4 deletions
Library/Homebrew/cmd/update.sh
with
6 additions
and
4 deletions
Library/Homebrew/cmd/update.sh
+
6
−
4
View file @
82ad6a56
...
...
@@ -368,12 +368,14 @@ user account:
EOS
fi
set
-e
if
[[
-n
"
$HOMEBREW_FORCE_BREWED_CURL
"
&&
!
-x
"
$HOMEBREW_PREFIX
/opt/curl/bin/curl"
]]
then
ohai
"Installing Homebrew cURL"
brew
install
curl
if
[[
-d
"
$HOMEBREW_LIBRARY
/Taps/homebrew/homebrew-core"
]]
&&
!
brew
install
curl
then
odie
"Curl must be installed and in your PATH!"
fi
fi
if
!
git
--version
&>/dev/null
||
...
...
@@ -381,14 +383,14 @@ EOS
!
-x
"
$HOMEBREW_PREFIX
/opt/git/bin/git"
]]
then
ohai
"Installing Homebrew Git"
brew
install
git
[[
-d
"
$HOMEBREW_LIBRARY
/Taps/homebrew/homebrew-core"
]]
&&
brew
install
git
unset
GIT_EXECUTABLE
if
!
git
--version
&>/dev/null
then
odie
"Git must be installed and in your PATH!"
fi
fi
set
+e
export
GIT_TERMINAL_PROMPT
=
"0"
export
GIT_SSH_COMMAND
=
"ssh -oBatchMode=yes"
...
...
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