scripts/fetch: add missing die statement
Noticed this while the Yocto Project's git server was down for maintenance.
This commit is contained in:
+2
-1
@@ -43,7 +43,8 @@ update_repo() {
|
|||||||
if [ -z "${GIT_LOCAL_REF_DIR}" ]; then
|
if [ -z "${GIT_LOCAL_REF_DIR}" ]; then
|
||||||
git clone ${uri} ${path} || die "unable to clone ${uri}"
|
git clone ${uri} ${path} || die "unable to clone ${uri}"
|
||||||
else
|
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
|
fi
|
||||||
pushd ${path} > /dev/null
|
pushd ${path} > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user