From 7ce22c258dd6a3fd8572cce209b95780d200c31f Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Sun, 12 Oct 2008 11:10:47 +0200
Subject: Applying patch from Frederic Boiteux <fboiteux@calistel.com> to
 support wildcards in rootfs exclude lists (Closes: #500677).

---
 helpers/lh_binary_rootfs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helpers/lh_binary_rootfs b/helpers/lh_binary_rootfs
index 85cccb9..450753a 100755
--- a/helpers/lh_binary_rootfs
+++ b/helpers/lh_binary_rootfs
@@ -94,7 +94,7 @@ then
 	if [ -f config/binary_rootfs/excludes ]
 	then
 		cp config/binary_rootfs/excludes chroot/chroot/excludes
-		chroot chroot/chroot /usr/bin/env -i xargs --arg-file=/excludes rm -rf
+		chroot chroot/chroot /usr/bin/env -i xargs --arg-file=/excludes -I FILE bash -c 'rm -rf FILE'
 		rm -f chroot/chroot/excludes
 	fi
 
-- 
cgit v1.0