xbps-src-doinst-helper: find -empty not impl in busybox, use other way.

--HG--
extra : convert_revision : c9057a59ba09fbc62c44310a8e71ef59525df7cb
This commit is contained in:
Juan RP 2010-04-15 01:23:25 +02:00
parent a78e732051
commit ec927329dc

View file

@ -116,7 +116,7 @@ install_src_phase()
fi
# Remove empty directories by default.
if [ -z "$keep_empty_dirs" ]; then
find ${DESTDIR} -depth -type d -empty -delete
find ${DESTDIR} -depth -type d -exec rmdir 2>/dev/null {} \;
fi
# Strip bins/libs.
if [ -z "$noarch" ]; then