diff --git a/scripts/fetch.sh b/scripts/fetch.sh index b428261..4a777fa 100755 --- a/scripts/fetch.sh +++ b/scripts/fetch.sh @@ -43,7 +43,8 @@ update_repo() { if [ -z "${GIT_LOCAL_REF_DIR}" ]; then git clone ${uri} ${path} || die "unable to clone ${uri}" else - git clone --reference ${GIT_LOCAL_REF_DIR}/`basename ${path}` ${uri} ${path} + git clone --reference ${GIT_LOCAL_REF_DIR}/`basename ${path}` \ + ${uri} ${path} || die "unable to clone ${uri}" fi pushd ${path} > /dev/null fi