diff options
Diffstat (limited to 'common/hooks/post-install/00-uncompress-manpages.sh')
-rw-r--r-- | common/hooks/post-install/00-uncompress-manpages.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/hooks/post-install/00-uncompress-manpages.sh b/common/hooks/post-install/00-uncompress-manpages.sh index c7a4e470157..3c0d2e2392e 100644 --- a/common/hooks/post-install/00-uncompress-manpages.sh +++ b/common/hooks/post-install/00-uncompress-manpages.sh @@ -9,8 +9,7 @@ hook() { fi # rewrite symlinks - find $mandir -type l -regex '.*\.\(gz\|bz2\)' | while read f - do + find $mandir -type l -regex '.*\.\(gz\|bz2\)' | while read -r f; do lnkat=$(readlink "$f") ln -s ${lnkat%.*} ${f%.*} rm $f |