summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhelpers/lh_binary_rootfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_binary_rootfs b/helpers/lh_binary_rootfs
index 387bf80..419b264 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 "cat /excludes | xargs rm -rf"
+ chroot chroot/chroot /usr/bin/env -i xargs --arg-file=/excludes rm -rf
rm -f chroot/chroot/excludes
fi