summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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
}