summaryrefslogtreecommitdiff
path: root/script/update/project
diff options
context:
space:
mode:
authorRiku Viitanen <riku.viitanen@protonmail.com>2023-09-03 04:00:42 +0300
committerRiku Viitanen <riku.viitanen@protonmail.com>2023-09-03 04:00:42 +0300
commite369e8fb4ab688f26334e93067fdd307d5793710 (patch)
tree18279f611fc7644c388efb05ca234d55e7812a8d /script/update/project
parent92b4db6992c0fb19a798a3f1e62e68c8a102a977 (diff)
automate rpi-pico serprog builds
./build rpi-pico serprog build bin/serprog/rpi-pico-serprog.uf2 Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com>
Diffstat (limited to 'script/update/project')
-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"
}