commit 84b2619ce107c71cf70421625a8ce880dcbf7f3a
parent 2fd5de69580da71cc10bf9f2d11dbf6023010f53
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 21 Apr 2024 15:03:06 +0200
printf of find is non-portable, use awk
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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