xbps-src-doinst-helper: find -empty not impl in busybox, use other way.
--HG-- extra : convert_revision : c9057a59ba09fbc62c44310a8e71ef59525df7cb
This commit is contained in:
parent
a78e732051
commit
ec927329dc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue