aboutsummaryrefslogtreecommitdiff
path: root/extra/texinfo
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-12-27 19:16:20 +0300
committerCem Keylan <cem@ckyln.com>2020-12-27 19:16:20 +0300
commitc16a3744cfb8263d0be89587c09b2df6207464bd (patch)
treec90657148bb475b9af468b38e00a6a7673d07231 /extra/texinfo
parentfd4634af7203626b844f2d4cb6b4046c23d593ad (diff)
downloadrepository-c16a3744cfb8263d0be89587c09b2df6207464bd.tar.gz
texinfo: fix non-POSIX usage of 'find' on post-install
Diffstat (limited to 'extra/texinfo')
-rwxr-xr-xextra/texinfo/post-install4
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