tools/build-release.sh: make it work in a pristine clone.

We need the submodules to exist.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-02-22 13:35:37 +10:30
committed by neil saitug
parent 6e44073bb0
commit 9f6d5a3c47

View File

@@ -70,6 +70,9 @@ if [ -z "$MTIME" ]; then
exit 1 exit 1
fi fi
# If it's a completely clean directory, we need submodules!
make submodcheck
rm -rf release rm -rf release
mkdir -p release mkdir -p release
for target in $TARGETS; do for target in $TARGETS; do