diff options
author | Daniel Baumann <daniel@debian.org> | 2009-11-11 13:15:46 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:48 +0100 |
commit | 9b38ed621ec14bc513573aed24d6f167e113e892 (patch) | |
tree | 3a09c99c51cb1c31dc3b834da20b0ddeb0d97dee /helpers/lh_binary_chroot | |
parent | c9943f079f8ec1393adf475c7a0bdad6ec9a4364 (diff) | |
download | live-build-9b38ed621ec14bc513573aed24d6f167e113e892.zip live-build-9b38ed621ec14bc513573aed24d6f167e113e892.tar.gz |
Simplyfing chroot copying in lh_binary_chroot.
Diffstat (limited to 'helpers/lh_binary_chroot')
-rwxr-xr-x | helpers/lh_binary_chroot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_binary_chroot b/helpers/lh_binary_chroot index 2023941..cef600e 100755 --- a/helpers/lh_binary_chroot +++ b/helpers/lh_binary_chroot @@ -88,13 +88,13 @@ if [ -d cache/stages_bootstrap ] then ${LH_ROOT_COMMAND} mv chroot chroot.tmp ${LH_ROOT_COMMAND} cp -a cache/stages_bootstrap chroot - ${LH_ROOT_COMMAND} mv chroot.tmp chroot/chroot ${LH_ROOT_COMMAND} touch chroot/chroot.cache else ${LH_ROOT_COMMAND} cp -a chroot chroot.tmp - ${LH_ROOT_COMMAND} mv chroot.tmp chroot/chroot fi +${LH_ROOT_COMMAND} mv chroot.tmp chroot/chroot + if [ -f config/binary_rootfs/exclude ] then # Read exclude file and expand wildcards. |