aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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