summaryrefslogtreecommitdiff
path: root/scripts/build/source_tar
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/source_tar')
-rwxr-xr-xscripts/build/source_tar7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/build/source_tar b/scripts/build/source_tar
index d5107b362..38a42db51 100755
--- a/scripts/build/source_tar
+++ b/scripts/build/source_tar
@@ -40,11 +40,8 @@ Require_stagefile .build/config .build/source_debian
# Checking stage file
Check_stagefile .build/source_tar
-# Checking lock file
-Check_lockfile .lock
-
-# Creating lock file
-Create_lockfile .lock
+# Aquire lock file
+Acquire_lockfile
# Remove old source
rm -f ${LIVE_IMAGE_NAME}-source.debian.tar.bz2 ${LIVE_IMAGE_NAME}-source.debian.tar.gz ${LIVE_IMAGE_NAME}-source.debian.tar.lz ${LIVE_IMAGE_NAME}-source.debian.tar