Browse Source

fix pullRepository()

master
belliash 9 years ago
parent
commit
5d691c8806
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      libraries/repositories

+ 4
- 4
libraries/repositories 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

Loading…
Cancel
Save