checkout: fix typo in update strategy detection

Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
This commit is contained in:
Thilo Fromm 2022-01-07 15:26:17 +01:00 committed by GitHub
parent 301e80e7f5
commit e9299efb36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,7 +163,7 @@ for dir in . \
sdk_container/src/third_party/portage-stable ; do
git -C "$dir" checkout "$branch"
if [-n "$update_strategy" ] ; then
if [ -n "$update_strategy" ] ; then
echo "updating branch in '$dir' /'$update_strategy')"
git -C "$dir" pull "$update_strategy"
fi