fix pullRepository()

This commit is contained in:
belliash 2012-01-13 11:50:21 +01:00
parent 85b8485ab2
commit 5d691c8806
1 changed files with 4 additions and 4 deletions

View File

@ -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