summaryrefslogtreecommitdiff
path: root/helpers/lh_bootstrap_cache
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:12 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:19:41 +0100
commit504c05c3a63de0af4fd0e876274afc039c5c0ed1 (patch)
tree5a29d0f82735a131c9319b5b825c57b740584d13 /helpers/lh_bootstrap_cache
parent37a5c53ddd2825bf6b0ce521908a63d419683981 (diff)
downloadlive-build-504c05c3a63de0af4fd0e876274afc039c5c0ed1.zip
live-build-504c05c3a63de0af4fd0e876274afc039c5c0ed1.tar.gz
Adding live-helper 1.0~a15-1.
Diffstat (limited to 'helpers/lh_bootstrap_cache')
-rwxr-xr-xhelpers/lh_bootstrap_cache5
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/lh_bootstrap_cache b/helpers/lh_bootstrap_cache
index 6d79e09..03ae904 100755
--- a/helpers/lh_bootstrap_cache
+++ b/helpers/lh_bootstrap_cache
@@ -49,8 +49,11 @@ do
if [ "${STAGE}" = "bootstrap" ] && [ -d cache/stages_bootstrap ]
then
+ # Removing old chroot
+ rm -rf chroot
+
# Restoring old cache
- ${LH_ROOT_COMMAND} cp -a cache/stages_bootstrap/* chroot
+ ${LH_ROOT_COMMAND} cp -a cache/stages_bootstrap chroot
if [ -n "${LH_ROOT_COMMAND}" ]
then