summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_rootfs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-08-31 21:15:28 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:40 +0100
commit45a98f5977ecea130f332759821b1052f8b9a0a9 (patch)
treeae95dff5b6a97db8c6bd36726a7b05600dd2a14b /helpers/lh_binary_rootfs
parentcdc9a34f7cbaf4c0501663b5cd73b95e763e0d46 (diff)
downloadlive-build-45a98f5977ecea130f332759821b1052f8b9a0a9.zip
live-build-45a98f5977ecea130f332759821b1052f8b9a0a9.tar.gz
Correcting chroot call to process config/binary_rootfs/excludes in chrooted builds.
Diffstat (limited to 'helpers/lh_binary_rootfs')
-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