aboutsummaryrefslogtreecommitdiff
path: root/common/hooks/post-install/03-remove-empty-dirs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/hooks/post-install/03-remove-empty-dirs.sh')
-rw-r--r--common/hooks/post-install/03-remove-empty-dirs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hooks/post-install/03-remove-empty-dirs.sh b/common/hooks/post-install/03-remove-empty-dirs.sh
index c54f458f61e..06354fc7f5c 100644
--- a/common/hooks/post-install/03-remove-empty-dirs.sh
+++ b/common/hooks/post-install/03-remove-empty-dirs.sh
@@ -2,7 +2,7 @@
hook() {
if [ -d "${PKGDESTDIR}" ]; then
- find "${PKGDESTDIR}" -mindepth 1 -type d -empty -print -delete|sort -r|while read f; do
+ find "${PKGDESTDIR}" -mindepth 1 -type d -empty -print -delete|sort -r|while read -r f; do
_dir="${f##${PKGDESTDIR}}"
msg_warn "$pkgver: removed empty dir: ${_dir}\n"
done