summaryrefslogtreecommitdiff
path: root/scripts/build/lb_bootstrap_cache
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-06-04 10:52:28 +0200
committerDaniel Baumann <daniel@debian.org>2012-06-04 11:55:22 +0200
commit434307c22d192e1f937915b417615f62b3b6bead (patch)
tree70db63e31fe0d2284d11a220ea2b4ce2d461fc35 /scripts/build/lb_bootstrap_cache
parentead507b47ce7f51ff89fc2701c54e681447f096e (diff)
downloadvyos-live-build-434307c22d192e1f937915b417615f62b3b6bead.tar.gz
vyos-live-build-434307c22d192e1f937915b417615f62b3b6bead.zip
Updating cache directory names to consistent naming scheme.
Diffstat (limited to 'scripts/build/lb_bootstrap_cache')
-rwxr-xr-xscripts/build/lb_bootstrap_cache10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/build/lb_bootstrap_cache b/scripts/build/lb_bootstrap_cache
index 9323f27b9..fe50fe9f6 100755
--- a/scripts/build/lb_bootstrap_cache
+++ b/scripts/build/lb_bootstrap_cache
@@ -38,7 +38,7 @@ do
# Checking stage file
Check_stagefile .build/bootstrap_cache.restore
- if [ -d cache/stages_bootstrap ]
+ if [ -d cache/bootstrap ]
then
# Checking lock file
Check_lockfile .lock
@@ -50,7 +50,7 @@ do
rm -rf chroot
# Restoring old cache
- ${LB_ROOT_COMMAND} cp -a cache/stages_bootstrap chroot
+ ${LB_ROOT_COMMAND} cp -a cache/bootstrap chroot
if [ -n "${LB_ROOT_COMMAND}" ]
then
@@ -77,15 +77,15 @@ do
# Creating lock file
Create_lockfile .lock
- rm -rf cache/stages_bootstrap
+ rm -rf cache/bootstrap
mkdir -p cache
- ${LB_ROOT_COMMAND} cp -a chroot cache/stages_bootstrap
+ ${LB_ROOT_COMMAND} cp -a chroot cache/bootstrap
if [ -n "${LB_ROOT_COMMAND}" ]
then
- ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) cache/stages_bootstrap
+ ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) cache/bootstrap
fi
# Creating stage file