From ec927329dc96eb9ca9ee37d8994a715914209fe6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 15 Apr 2010 01:23:25 +0200 Subject: [PATCH] xbps-src-doinst-helper: find -empty not impl in busybox, use other way. --HG-- extra : convert_revision : c9057a59ba09fbc62c44310a8e71ef59525df7cb --- xbps-src/libexec/xbps-src-doinst-helper.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps-src/libexec/xbps-src-doinst-helper.sh.in b/xbps-src/libexec/xbps-src-doinst-helper.sh.in index cb2abdb3c49..66bc9dbdda8 100644 --- a/xbps-src/libexec/xbps-src-doinst-helper.sh.in +++ b/xbps-src/libexec/xbps-src-doinst-helper.sh.in @@ -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