aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-05 20:43:28 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-05 20:43:28 +0200
commit6de49ea2c02e311e5f5366005bd3497a9bb25187 (patch)
treea221b9c784b4e004eb5972e18516653d1aea6a5c /bootstrap
parente428783e2e0295186dc4eae273df8a3f8b75df60 (diff)
parented5b98a2c2308fbd44b906a30286d2689fd304dd (diff)
Merge branch 'protocolv8'
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap9
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 44f929c6..55522f71 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,5 +1,7 @@
#!/bin/sh
+set -eu
+
if ! git --version >/dev/null; then
echo "git not installed"
exit 1
@@ -7,6 +9,13 @@ fi
git submodule update --init
+# Generate taler-error-codes.h in gana and copy it to
+# src/include/taler_error_codes.h
+cd contrib/gana/gnu-taler-error-codes
+make
+cd ../../..
+cp contrib/gana/gnu-taler-error-codes/taler-error-codes.h src/include/taler_error_codes.h
+
# This is more portable than `which' but comes with
# the caveat of not(?) properly working on busybox's ash:
existence()