update/project/trees: fix error handling on mkdir
Signed-off-by: Leah Rowe <leah@libreboot.org>btrfsvols
parent
0f86a393ac
commit
9dce8236ef
|
@ -87,8 +87,7 @@ check_config_for_target()
|
||||||
|
|
||||||
fetch_from_upstream()
|
fetch_from_upstream()
|
||||||
{
|
{
|
||||||
[ -d "${project}" ] || mkdir -p "${project}" || return 1
|
[ -d "${project}" ] || x_ mkdir -p "${project}"
|
||||||
[ -d "${project}" ] || return 1
|
|
||||||
[ -d "${project}/${project}" ] && return 0
|
[ -d "${project}/${project}" ] && return 0
|
||||||
|
|
||||||
x_ ./update project repo "${project}"
|
x_ ./update project repo "${project}"
|
||||||
|
|
Loading…
Reference in New Issue