File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33set -euo pipefail
44
55printf " \nSubmodule check...\n"
6- git submodule update --init
7- printf " Submodule is checked out at commit: $( git submodule status) \n\n"
6+ if [[ " $1 " != " --skip-submodule-update" ]]; then
7+ git submodule update --init
8+ printf " Submodule is checked out at commit: $( git submodule status) \n\n"
9+ else
10+ printf " Skipping submodule update, using local changes.\n"
11+ printf " Submodule is checked out at commit: $( git submodule status) \n\n"
12+ fi
813
914cd ./bdk-ffi/bdk-ffi/
1015
Original file line number Diff line number Diff line change 33set -euo pipefail
44
55printf " \nSubmodule check...\n"
6- git submodule update --init
7- printf " Submodule is checked out at commit: $( git submodule status) \n\n"
6+ if [[ " $1 " != " --skip-submodule-update" ]]; then
7+ git submodule update --init
8+ printf " Submodule is checked out at commit: $( git submodule status) \n\n"
9+ else
10+ printf " Skipping submodule update, using local changes.\n"
11+ printf " Submodule is checked out at commit: $( git submodule status) \n\n"
12+ fi
813
914cd ./bdk-ffi/bdk-ffi/
1015
Original file line number Diff line number Diff line change 33set -euo pipefail
44
55printf " \nSubmodule check...\n"
6- git submodule update --init
7- printf " Submodule is checked out at commit: $( git submodule status) \n\n"
6+ if [[ " $1 " != " --skip-submodule-update" ]]; then
7+ git submodule update --init
8+ printf " Submodule is checked out at commit: $( git submodule status) \n\n"
9+ else
10+ printf " Skipping submodule update, using local changes.\n"
11+ printf " Submodule is checked out at commit: $( git submodule status) \n\n"
12+ fi
813
914cd ./bdk-ffi/bdk-ffi/
1015
Original file line number Diff line number Diff line change 33set -euo pipefail
44
55printf " \nSubmodule check...\n"
6- git submodule update --init
7- printf " Submodule is checked out at commit: $( git submodule status) \n\n"
6+ if [[ " $1 " != " --skip-submodule-update" ]]; then
7+ git submodule update --init
8+ printf " Submodule is checked out at commit: $( git submodule status) \n\n"
9+ else
10+ printf " Skipping submodule update, using local changes.\n"
11+ printf " Submodule is checked out at commit: $( git submodule status) \n\n"
12+ fi
813
914cd ./bdk-ffi/bdk-ffi/
1015
You can’t perform that action at this time.
0 commit comments