summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-02-27 20:54:49 +0100
committerMartin Schanzenbach <schanzen@gnunet.org>2022-02-27 20:54:49 +0100
commitfd1d4df8fbabf484cbbfda53e2f2936c37b84bc0 (patch)
treee835270b7210b86c333455021b5674ef9a9eebbf
parent82d9ca012d1f0cfd070108fbdebacdcecaddbea1 (diff)
BUILD: Allow boostrap when offline (if gana files exist)
-rwxr-xr-xbootstrap12
1 files changed, 6 insertions, 6 deletions
diff --git a/bootstrap b/bootstrap
index 766eed237..9d31d7ad7 100755
--- a/bootstrap
+++ b/bootstrap
@@ -97,9 +97,9 @@ submodules()
if ! git --version >/dev/null; then
echo "git not installed, skipping submodule update"
else
- git submodule update --init || exit 1
- git submodule update --remote --recursive || exit 1
- git submodule sync || exit 1
+ git submodule update --init && \
+ git submodule update --remote --recursive && \
+ git submodule sync
fi
}
@@ -112,17 +112,17 @@ gana_update()
cd gnu-name-system-record-types && \
make && \
cp gnu_name_system_record_types.h ../../../src/include/ && \
- make clean
+ make clean || exit 1
cd ../gnu-name-system-default-tlds && \
make && \
cp tlds.conf ../../../src/gns && \
- make clean
+ make clean || exit 1
# Signatures
cd ../gnunet-signatures && \
make && \
cp gnunet_signatures.h ../../../src/include && \
- make clean
+ make clean || exit 1
cd $cwd
else
echo "ERROR: No recutils found! Unable to generate recent GANA headers and configs."