`op.sh`: fix submodule cloning for older git version (#35840)

Update op.sh
pull/35841/head
hungpham3112 1 month ago committed by GitHub
parent 1cadcf6192
commit 69f4b4a6b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      tools/op.sh

@ -231,7 +231,7 @@ function op_setup() {
echo "Getting git submodules..."
st="$(date +%s)"
if ! git submodule update --filter=blob:none --jobs 4 --init --recursive; then
if ! git submodule update --jobs 4 --init --recursive; then
echo -e " ↳ [${RED}${NC}] Getting git submodules failed!"
loge "ERROR_GIT_SUBMODULES"
return 1

Loading…
Cancel
Save