summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_hooks
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_hooks')
-rwxr-xr-xscripts/build/chroot_hooks5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/build/chroot_hooks b/scripts/build/chroot_hooks
index 8868b51c4..0af1db934 100755
--- a/scripts/build/chroot_hooks
+++ b/scripts/build/chroot_hooks
@@ -27,8 +27,7 @@ Echo_message "Begin executing hooks..."
Require_stagefile config bootstrap
# Checking stage file
-STAGE_FILE="chroot_hooks"
-Check_stagefile "${STAGE_FILE}"
+Check_stagefile
# Acquire lock file
Acquire_lockfile
@@ -111,4 +110,4 @@ rmdir chroot/live-build/config
rmdir chroot/live-build
# Creating stage file
-Create_stagefile "${STAGE_FILE}"
+Create_stagefile