diff options
author | Cem Keylan <cem@ckyln.com> | 2020-12-27 19:16:20 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-12-27 19:16:20 +0300 |
commit | c16a3744cfb8263d0be89587c09b2df6207464bd (patch) | |
tree | c90657148bb475b9af468b38e00a6a7673d07231 | |
parent | fd4634af7203626b844f2d4cb6b4046c23d593ad (diff) | |
download | repository-c16a3744cfb8263d0be89587c09b2df6207464bd.tar.gz |
texinfo: fix non-POSIX usage of 'find' on post-install
-rwxr-xr-x | extra/texinfo/post-install | 4 |
1 files changed, 3 insertions, 1 deletions
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 |