mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
build: allow building from source zip file.
Changes both how we construct it and how we deal with not having git. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -5,6 +5,9 @@ if [ $# = 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# If no git dir, forget it.
|
||||
[ -d .git ] || exit 0
|
||||
|
||||
# git submodule can't run in parallel. Really.
|
||||
if ! mkdir .refresh-submodules 2>/dev/null ; then
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user