mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 14:11:07 +02:00
checkout: fix typo in update strategy detection
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
This commit is contained in:
parent
301e80e7f5
commit
e9299efb36
2
checkout
2
checkout
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user