git.sh fetch_config: simplify tree name check

Signed-off-by: Leah Rowe <leah@libreboot.org>
9020vga
Leah Rowe 2023-12-19 02:23:46 +00:00
parent b9f69f26c5
commit cbd19d81fd
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ fetch_config()
eval "$(setvars "" rev tree)"
_xm="fetch_config ${project}/${_target}"
load_target_config "${_target}"
[ "${_target}" != "${tree}" ] && _target="${tree}" && continue
break
[ "${_target}" = "${tree}" ] && break
_target="${tree}"
done
}