summaryrefslogtreecommitdiff
path: root/scripts/build/binary_tar
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/binary_tar')
-rwxr-xr-xscripts/build/binary_tar7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/build/binary_tar b/scripts/build/binary_tar
index d4eb16a93..eadfa5b41 100755
--- a/scripts/build/binary_tar
+++ b/scripts/build/binary_tar
@@ -34,11 +34,8 @@ Require_stagefile .build/config .build/bootstrap
# Checking stage file
Check_stagefile .build/binary_tar
-# Checking lock file
-Check_lockfile .lock
-
-# Creating lock file
-Create_lockfile .lock
+# Aquire lock file
+Acquire_lockfile
# Remove old binary
rm -f ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}.tar.bz2 ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}.tar.gz ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}.tar.lz ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}.tar