scripts/fetch: add missing die statement

Noticed this while the Yocto Project's git server was down for
maintenance.
This commit is contained in:
Doug Goldstein
2016-12-27 10:47:03 -06:00
parent abe20ca06f
commit 247bb57c84
+2 -1
View File
@@ -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