make: have git submodule update be recursive

libwally added libsecp256k1 as a submodule, so we need to recursively
update the submodules now
This commit is contained in:
niftynei 2020-12-10 14:59:15 -06:00 committed by Christian Decker
parent 68d08fc7d7
commit 1ca2c66c54
2 changed files with 2 additions and 2 deletions

View File

@ -385,7 +385,7 @@ Clone lightning:
``` ```
git clone https://github.com/ElementsProject/lightning.git git clone https://github.com/ElementsProject/lightning.git
cd lightning cd lightning
git submodule update --init git submodule update --init --recursive
``` ```
Build and install: Build and install:
``` ```

View File

@ -38,5 +38,5 @@ if [ "$(git submodule status "$@" | grep -c '^ ')" != $# ]; then
echo Reinitializing submodules "$@" ... echo Reinitializing submodules "$@" ...
git submodule sync "$@" git submodule sync "$@"
rm -rf "$@" rm -rf "$@"
git submodule update --init "$@" git submodule update --init --recursive "$@"
fi fi