From cbd19d81fd33b444732d05891eccb983b3a790ed Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 19 Dec 2023 02:23:46 +0000 Subject: git.sh fetch_config: simplify tree name check Signed-off-by: Leah Rowe --- include/git.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 } -- cgit v1.2.1