aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
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 /bootstrap
parent82d9ca012d1f0cfd070108fbdebacdcecaddbea1 (diff)
downloadgnunet-fd1d4df8fbabf484cbbfda53e2f2936c37b84bc0.tar.gz
gnunet-fd1d4df8fbabf484cbbfda53e2f2936c37b84bc0.zip
BUILD: Allow boostrap when offline (if gana files exist)
Diffstat (limited to 'bootstrap')
-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()
97 if ! git --version >/dev/null; then 97 if ! git --version >/dev/null; then
98 echo "git not installed, skipping submodule update" 98 echo "git not installed, skipping submodule update"
99 else 99 else
100 git submodule update --init || exit 1 100 git submodule update --init && \
101 git submodule update --remote --recursive || exit 1 101 git submodule update --remote --recursive && \
102 git submodule sync || exit 1 102 git submodule sync
103 fi 103 fi
104} 104}
105 105
@@ -112,17 +112,17 @@ gana_update()
112 cd gnu-name-system-record-types && \ 112 cd gnu-name-system-record-types && \
113 make && \ 113 make && \
114 cp gnu_name_system_record_types.h ../../../src/include/ && \ 114 cp gnu_name_system_record_types.h ../../../src/include/ && \
115 make clean 115 make clean || exit 1
116 cd ../gnu-name-system-default-tlds && \ 116 cd ../gnu-name-system-default-tlds && \
117 make && \ 117 make && \
118 cp tlds.conf ../../../src/gns && \ 118 cp tlds.conf ../../../src/gns && \
119 make clean 119 make clean || exit 1
120 120
121 # Signatures 121 # Signatures
122 cd ../gnunet-signatures && \ 122 cd ../gnunet-signatures && \
123 make && \ 123 make && \
124 cp gnunet_signatures.h ../../../src/include && \ 124 cp gnunet_signatures.h ../../../src/include && \
125 make clean 125 make clean || exit 1
126 cd $cwd 126 cd $cwd
127 else 127 else
128 echo "ERROR: No recutils found! Unable to generate recent GANA headers and configs." 128 echo "ERROR: No recutils found! Unable to generate recent GANA headers and configs."