diff options
author | Leah Rowe <leah@libreboot.org> | 2023-10-02 05:56:14 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-10-02 05:56:14 +0100 |
commit | 9dce8236efed907c70c5b216a9f8df8342b1d3b7 (patch) | |
tree | a6173b276730a017e7dcbe2e060929ef4f2ed022 /script/update/project | |
parent | 0f86a393ace984fcb2035138e01b61cda84af68d (diff) |
update/project/trees: fix error handling on mkdir
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update/project')
-rwxr-xr-x | script/update/project/trees | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/script/update/project/trees b/script/update/project/trees index 38d2c59d..093d5086 100755 --- a/script/update/project/trees +++ b/script/update/project/trees @@ -87,8 +87,7 @@ check_config_for_target() fetch_from_upstream() { - [ -d "${project}" ] || mkdir -p "${project}" || return 1 - [ -d "${project}" ] || return 1 + [ -d "${project}" ] || x_ mkdir -p "${project}" [ -d "${project}/${project}" ] && return 0 x_ ./update project repo "${project}" |