summaryrefslogtreecommitdiff
path: root/scripts/build/bootstrap_cache
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/bootstrap_cache')
-rwxr-xr-xscripts/build/bootstrap_cache14
1 files changed, 4 insertions, 10 deletions
diff --git a/scripts/build/bootstrap_cache b/scripts/build/bootstrap_cache
index 5ed474090..994cf82cf 100755
--- a/scripts/build/bootstrap_cache
+++ b/scripts/build/bootstrap_cache
@@ -38,11 +38,8 @@ case "${1}" in
then
Echo_message "Restoring bootstrap stage from cache..."
- # Checking lock file
- Check_lockfile .lock
-
- # Creating lock file
- Create_lockfile .lock
+ # Aquire lock file
+ Acquire_lockfile
# Removing old chroot
rm -rf chroot
@@ -64,11 +61,8 @@ case "${1}" in
# Checking stage file
Check_stagefile .build/bootstrap_cache.save
- # Checking lock file
- Check_lockfile .lock
-
- # Creating lock file
- Create_lockfile .lock
+ # Aquire lock file
+ Acquire_lockfile
rm -rf cache/bootstrap