summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/prepinfo4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/prepinfo b/bin/prepinfo
index 2d3c80e08..ff1c6a88a 100755
--- a/bin/prepinfo
+++ b/bin/prepinfo
@@ -24,6 +24,8 @@ if [[ ! -d ${D}${infodir} ]] ; then
fi
fi
-rm -f "${D}${infodir}"/dir{,.info}{,.gz,.bz2}
+find "${D}${infodir}" -type d -print0 | while read -d $'\0' x ; do
+ rm -f "${x}"/dir{,.info}{,.gz,.bz2}
+done
exec ecompressdir "${infodir}"