Merge "Workaround openrc failure on zsh"
This commit is contained in:
commit
c1d7dead4c
@ -575,7 +575,7 @@ function git_clone {
|
||||
|
||||
RECLONE=$(trueorfalse False $RECLONE)
|
||||
|
||||
if [[ "$GIT_DEPTH" ]]; then
|
||||
if [[ -n "${GIT_DEPTH}" ]]; then
|
||||
git_clone_flags="$git_clone_flags --depth $GIT_DEPTH"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user