diff options
author | Daniel Baumann <daniel@debian.org> | 2012-06-04 10:52:28 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-06-04 11:55:22 +0200 |
commit | 434307c22d192e1f937915b417615f62b3b6bead (patch) | |
tree | 70db63e31fe0d2284d11a220ea2b4ce2d461fc35 /scripts/build/lb_chroot_cache | |
parent | ead507b47ce7f51ff89fc2701c54e681447f096e (diff) | |
download | vyos-live-build-434307c22d192e1f937915b417615f62b3b6bead.tar.gz vyos-live-build-434307c22d192e1f937915b417615f62b3b6bead.zip |
Updating cache directory names to consistent naming scheme.
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 |