aboutsummaryrefslogtreecommitdiff
path: root/contrib/gana-update.sh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-01 19:30:57 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-01 19:30:57 +0200
commit7ee5ffd2eb241389339116a5df9af5d992b648c9 (patch)
tree84d3041237ee7e6962d96b928ab034eabdf1e427 /contrib/gana-update.sh
parent18541a284b57ed7f0c110f084649eb292e603e63 (diff)
-fix FTBFS
Diffstat (limited to 'contrib/gana-update.sh')
-rwxr-xr-xcontrib/gana-update.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/contrib/gana-update.sh b/contrib/gana-update.sh
index b353d224f..8fcf18852 100755
--- a/contrib/gana-update.sh
+++ b/contrib/gana-update.sh
@@ -8,7 +8,14 @@ set -eu
cd contrib/gana/gnu-taler-error-codes
make
cd ../../..
-for n in taler_error_codes.h taler_error_codes.c
+for n in taler_error_codes.c
+do
+ if ! diff contrib/gana/gnu-taler-error-codes/${n} src/util/${n} > /dev/null
+ then
+ cp contrib/gana/gnu-taler-error-codes/$n src/util/$n
+ fi
+done
+for n in taler_error_codes.h
do
if ! diff contrib/gana/gnu-taler-error-codes/${n} src/include/${n} > /dev/null
then