From 5d691c88068831a05e6b92b8ea8e11c49f8fb295 Mon Sep 17 00:00:00 2001 From: belliash Date: Fri, 13 Jan 2012 11:50:21 +0100 Subject: [PATCH] fix pullRepository() --- libraries/repositories | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/repositories b/libraries/repositories index 69c8c5f..14d979b 100644 --- a/libraries/repositories +++ b/libraries/repositories @@ -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