More compatible with older git versions
This commit is contained in:
parent
eab7ff26cf
commit
66c2f5ccc3
@ -68,7 +68,7 @@ main() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
env git clone --depth=1 $(git remote get-url origin) -b "$branch" $ZSH || {
|
env git clone --depth=1 $(git config --get remote.origin.url) -b "$branch" $ZSH || {
|
||||||
printf "Error: git clone of oh-my-zsh repo failed\n"
|
printf "Error: git clone of oh-my-zsh repo failed\n"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user