aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-04-21 15:43:47 +0200
committerChristian Grothoff <christian@grothoff.org>2024-04-21 15:43:47 +0200
commitec72fbc08ad2734831b3ee2517f0121ad27afd89 (patch)
tree03468c6c2dd649d21b9e1bb1c8a6f81a66ab1ca1
parentf2f8e00fa6fa44a6a5bcf49f4a868292126e1f8a (diff)
printf of find is non-portable, use awk
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index c3a26432..18789981 100755
--- a/bootstrap
+++ b/bootstrap
@@ -32,7 +32,7 @@ fi
# Generate Makefile.am in contrib/
cd contrib
rm -f Makefile.am
-find wallet-core/backoffice/ -type f -printf ' %p \\\n' | sort > Makefile.am.ext
+find wallet-core/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