diff options
Diffstat (limited to 'common/hooks/post-install/00-compress-info-files.sh')
-rw-r--r-- | common/hooks/post-install/00-compress-info-files.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/hooks/post-install/00-compress-info-files.sh b/common/hooks/post-install/00-compress-info-files.sh index ee394a8c901..0a1bec5360c 100644 --- a/common/hooks/post-install/00-compress-info-files.sh +++ b/common/hooks/post-install/00-compress-info-files.sh @@ -15,8 +15,7 @@ hook() { rm -f ${PKGDESTDIR}/usr/share/info/dir fi - find ${PKGDESTDIR}/usr/share/info -type f -follow | while read f - do + find ${PKGDESTDIR}/usr/share/info -type f -follow | while read -r f; do j=$(echo "$f"|sed -e "$fpattern") [ "$j" = "" ] && continue [ "$j" = "/usr/share/info/dir" ] && continue |