diff options
Diffstat (limited to 'scripts/build/lb_chroot_cache')
-rwxr-xr-x | scripts/build/lb_chroot_cache | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/build/lb_chroot_cache b/scripts/build/lb_chroot_cache index 876b0259f..ba9560065 100755 --- a/scripts/build/lb_chroot_cache +++ b/scripts/build/lb_chroot_cache @@ -35,7 +35,7 @@ do # Checking stage file Check_stagefile .build/chroot_cache.restore - if [ -d cache/stages_chroot ] + if [ -d cache/chroot ] then # Checking lock file Check_lockfile .lock @@ -47,7 +47,7 @@ do rm -rf chroot # Restoring old cache - ${LB_ROOT_COMMAND} cp -a cache/stages_chroot chroot + ${LB_ROOT_COMMAND} cp -a cache/chroot chroot if [ -n "${LB_ROOT_COMMAND}" ] then @@ -73,15 +73,15 @@ do # Creating lock file Create_lockfile .lock - rm -rf cache/stages_chroot + rm -rf cache/chroot mkdir -p cache - ${LB_ROOT_COMMAND} cp -a chroot cache/stages_chroot + ${LB_ROOT_COMMAND} cp -a chroot cache/chroot if [ -n "${LB_ROOT_COMMAND}" ] then - ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) cache/stages_chroot + ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) cache/chroot fi # Creating stage file |