summaryrefslogtreecommitdiff
path: root/script/update/project
diff options
context:
space:
mode:
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"
}