From 9b38ed621ec14bc513573aed24d6f167e113e892 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Wed, 11 Nov 2009 13:15:46 +0100
Subject: Simplyfing chroot copying in lh_binary_chroot.

---
 helpers/lh_binary_chroot | 4 ++--
 1 file 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.
-- 
cgit v1.0