summaryrefslogtreecommitdiff
path: root/script/update/project/repo
diff options
context:
space:
mode:
authorLeah Rowe <vimuser@noreply.codeberg.org>2023-09-03 01:13:30 +0000
committerLeah Rowe <vimuser@noreply.codeberg.org>2023-09-03 01:13:30 +0000
commit9ef8a7ea80f42246c842eb9aaf79c03535ae594c (patch)
tree18279f611fc7644c388efb05ca234d55e7812a8d /script/update/project/repo
parent92b4db6992c0fb19a798a3f1e62e68c8a102a977 (diff)
parente369e8fb4ab688f26334e93067fdd307d5793710 (diff)
Merge pull request 'Automate pico-serprog builds' (#122) from Riku_V/lbmk:mkserprog into master
Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/122
Diffstat (limited to 'script/update/project/repo')
-rwxr-xr-xscript/update/project/repo1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/update/project/repo b/script/update/project/repo
index 91696586..336fa84a 100755
--- a/script/update/project/repo
+++ b/script/update/project/repo
@@ -84,6 +84,7 @@ clone_project()
[ ! -d "${location}" ] || \
rm -Rf "${location}" || \
fail "clone_project: Can't remove directory '${location}'"
+ mkdir -p ${location%/*}
mv "${tmp_dir}" "${location}" || \
fail "clone_project: could not copy temp file to destination"
}