From c63052cf19c4cb04b878a9fb5806ecea7e73273c Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 3 Sep 2023 17:28:10 +0100 Subject: 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 --- script/update/project/repo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'script') diff --git a/script/update/project/repo b/script/update/project/repo index 336fa84a..72328b45 100755 --- a/script/update/project/repo +++ b/script/update/project/repo @@ -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" } -- cgit v1.2.1