Commit 31a06005 authored by Angus Ainslie's avatar Angus Ainslie
Browse files

Merge branch 'fix-mk-image-checkout' into 'master'

build_uboot: Fix build twice in a row

See merge request Librem5/u-boot-builder!3
parents 83bc8dcb 4fa49a1f
......@@ -157,7 +157,7 @@ function combine_uboot_bins()
cd "${CWD}"
if [ "${MKIMAGE_REPO}" != "" ]; then
MKIMAGE_DIR=$(echo "${MKIMAGE_REPO}" | awk -F '/' '{ print $NF }')
MKIMAGE_DIR=$(basename "${MKIMAGE_REPO}" .git)
if [ ! -e "${MKIMAGE_DIR}" ]; then
git clone "${MKIMAGE_REPO}" -b "${MKIMAGE_BRANCH}"
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment