summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index a0bbd3b7..3c42d277 100755
--- a/bootstrap
+++ b/bootstrap
@@ -15,6 +15,9 @@ 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
+cp contrib/gana/gnu-taler-error-codes/taler-error-codes.c src/util/taler_error_codes.c
+# Change the include in the source file so it can find the header
+sed -i '' 's/taler\-error\-codes\.h/taler_error_codes.h/g' src/util/taler_error_codes.c
# This is more portable than `which' but comes with
# the caveat of not(?) properly working on busybox's ash: