fix memtest86plus download/build

the mkdir command in update/project/repo, added for
pico-pi integration, broke a bunch of other downloads.

the fix is a bit of a hack but it should hold for now.

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-09-03 17:28:10 +01:00
parent fb4e6834c1
commit c63052cf19
1 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,8 @@ clone_project()
[ ! -d "${location}" ] || \
rm -Rf "${location}" || \
fail "clone_project: Can't remove directory '${location}'"
mkdir -p ${location%/*}
[ "${name}" != "rpi-pico-serprog" ] || mkdir -p ${location%/*} || \
fail "clone_project: cannot make directory for rpi-pico-serprog"
mv "${tmp_dir}" "${location}" || \
fail "clone_project: could not copy temp file to destination"
}