fix pullRepository()
This commit is contained in:
parent
85b8485ab2
commit
5d691c8806
|
@ -47,16 +47,16 @@ function pullRepository() {
|
|||
for ((i=0; $i<${FETCHTRIES}; i++)); do
|
||||
case "${2}" in
|
||||
[Gg][Ii][Tt])
|
||||
pullGit ${1} ${3} ${4} && return 0
|
||||
pullGit "${1}" "${3}" "${4}" && return 0
|
||||
;;
|
||||
[Rr][Ss][Yy][Nn][Cc])
|
||||
pullRsync ${1} ${3} && return 0
|
||||
pullRsync "${1}" "${3}" && return 0
|
||||
;;
|
||||
[Ss][Vv][Nn])
|
||||
pullSubversion ${1} ${3} && return 0
|
||||
pullSubversion "${1}" "${3}" && return 0
|
||||
;;
|
||||
*)
|
||||
printWarn "Tried to fetch repository using unsupported protocol!"
|
||||
printWarn "Tried to pull data using unsupported protocol (${2})!"
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue