aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-04-21 15:03:06 +0200
committerChristian Grothoff <christian@grothoff.org>2024-04-21 15:03:06 +0200
commit84b2619ce107c71cf70421625a8ce880dcbf7f3a (patch)
treed48e7d7b8a6af83288b27eb83ec74e0348ae9a51
parent2fd5de69580da71cc10bf9f2d11dbf6023010f53 (diff)
printf of find is non-portable, use awkaml-branch-start
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index a2d0c3b5d..b749f0da9 100755
--- a/bootstrap
+++ b/bootstrap
@@ -42,7 +42,7 @@ fi
# Generate Makefile.am in contrib/
cd contrib
rm -f Makefile.am
-find wallet-core/aml-backoffice/ -type f -printf ' %p \\\n' | sort > Makefile.am.ext
+find wallet-core/aml-backoffice/ -type f | sort | awk '{print " " $1 " \\" }' > Makefile.am.ext
# Remove extra '\' at the end of the file
truncate -s -2 Makefile.am.ext
cat Makefile.am.in Makefile.am.ext >> Makefile.am