diff options
author | Leah Rowe <leah@libreboot.org> | 2023-12-19 02:23:46 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-12-19 02:23:46 +0000 |
commit | cbd19d81fd33b444732d05891eccb983b3a790ed (patch) | |
tree | 90ad90321d788658f13101429393b78683e7ce6f | |
parent | b9f69f26c55e4ead24d8599463d1395aae88c7fb (diff) |
git.sh fetch_config: simplify tree name check
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | include/git.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git.sh b/include/git.sh index 9a73bd92..57d8f4f9 100755 --- a/include/git.sh +++ b/include/git.sh @@ -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 } |