mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-07-04 01:11:29 +02:00
Handle unshallowed Homebrew checkout as well
[ci skip]
This commit is contained in:
parent
c93d0d3a11
commit
1491d71efa
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ fi
|
|||
|
||||
pushd "$(brew --prefix)"
|
||||
|
||||
git fetch -q --unshallow origin master
|
||||
git fetch -q --unshallow origin master 2>/dev/null || git fetch -q origin master
|
||||
|
||||
branch="${brew_name}-${version}"
|
||||
git checkout -q -B "$branch" origin/master
|
||||
|
|
Loading…
Reference in a new issue