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