From c16a3744cfb8263d0be89587c09b2df6207464bd Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 27 Dec 2020 19:16:20 +0300 Subject: texinfo: fix non-POSIX usage of 'find' on post-install --- extra/texinfo/post-install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extra/texinfo/post-install b/extra/texinfo/post-install index 8e50bc63..662b5ff5 100755 --- a/extra/texinfo/post-install +++ b/extra/texinfo/post-install @@ -1,3 +1,5 @@ #!/bin/sh -find /usr/share/info -type f ! -name dir -exec install-info {} /usr/share/info/dir \; +find "$CPT_ROOT/usr/share/info" -type f ! -name dir | while read -r file; do + install-info "$file" "$CPT_ROOT/usr/share/info/dir" +done -- cgit v1.2.3