diff options
author | Daniel Baumann <daniel@debian.org> | 2008-10-28 16:44:06 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:43 +0100 |
commit | 1c1e7db6c44d639fd51ee23061087c7d14b6ef6b (patch) | |
tree | e20b0cfa3a45140a39be0cadf45410eab5cc22e7 /helpers/lh_binary_chroot | |
parent | 6696b019fe03a371d69c50a1ef82223e4bb364a7 (diff) | |
download | live-build-1c1e7db6c44d639fd51ee23061087c7d14b6ef6b.zip live-build-1c1e7db6c44d639fd51ee23061087c7d14b6ef6b.tar.gz |
Generalizing internal Chroot(); by requiring its first argument to be the chroot directory.
Diffstat (limited to 'helpers/lh_binary_chroot')
-rwxr-xr-x | helpers/lh_binary_chroot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_binary_chroot b/helpers/lh_binary_chroot index 77ddf4e..f89c885 100755 --- a/helpers/lh_binary_chroot +++ b/helpers/lh_binary_chroot @@ -100,7 +100,7 @@ then if [ -e chroot/chroot/"${EXCLUDE}" ] then # Run "rm" inside the chroot so it cannot possibly remove host files. - Chroot "rm -r chroot/${EXCLUDE}" + Chroot chroot "rm -r chroot/${EXCLUDE}" else Echo_warning "Excluded path does not exist: %s" "${EXCLUDE}" fi |