diff options
author | Riku Viitanen <riku.viitanen@protonmail.com> | 2023-09-03 04:00:42 +0300 |
---|---|---|
committer | Riku Viitanen <riku.viitanen@protonmail.com> | 2023-09-03 04:00:42 +0300 |
commit | e369e8fb4ab688f26334e93067fdd307d5793710 (patch) | |
tree | 18279f611fc7644c388efb05ca234d55e7812a8d /script/update/project | |
parent | 92b4db6992c0fb19a798a3f1e62e68c8a102a977 (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-x | script/update/project/repo | 1 |
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" } |