mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
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:
committed by
Christian Decker
parent
68d08fc7d7
commit
1ca2c66c54
@@ -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:
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user