summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-12-19 02:23:46 +0000
committerLeah Rowe <leah@libreboot.org>2023-12-19 02:23:46 +0000
commitcbd19d81fd33b444732d05891eccb983b3a790ed (patch)
tree90ad90321d788658f13101429393b78683e7ce6f
parentb9f69f26c55e4ead24d8599463d1395aae88c7fb (diff)
git.sh fetch_config: simplify tree name check
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xinclude/git.sh4
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
}