external/Makefile: fix parallel build with missing secp headers.

Fixes: #4229
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2020-11-30 10:47:08 +10:30
committed by Christian Decker
parent 32de621886
commit 68c6ae67b3
2 changed files with 4 additions and 3 deletions

View File

@@ -5,8 +5,8 @@ if [ $# = 0 ]; then
exit 1
fi
# If no git dir, forget it.
[ -d .git ] || exit 0
# If no git dir (or, if we're a submodule, git file), forget it.
[ -e .git ] || exit 0
# git submodule can't run in parallel. Really.
# Wait for it to finish if in parallel.