From 247bb57c840bfbddd1d5decc8f6f994594888cfc Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Tue, 27 Dec 2016 10:47:03 -0600 Subject: [PATCH] scripts/fetch: add missing die statement Noticed this while the Yocto Project's git server was down for maintenance. --- scripts/fetch.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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