summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-22 01:37:39 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-22 01:37:39 -0400
commit016c4a5cf2cdbcc0ee7b2de4bedadeb1d9ed9259 (patch)
treed0408de5b3adb10758590d7b701ee09bd3869222 /bootstrap
parentc3eb0fd8e207d173a40e9546d2603841f1bdf19d (diff)
downloadexchange-016c4a5cf2cdbcc0ee7b2de4bedadeb1d9ed9259.tar.gz
exchange-016c4a5cf2cdbcc0ee7b2de4bedadeb1d9ed9259.tar.bz2
exchange-016c4a5cf2cdbcc0ee7b2de4bedadeb1d9ed9259.zip
update gana, add error codes c file
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: