summaryrefslogtreecommitdiff
path: root/scripts/build/bootstrap_debootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/bootstrap_debootstrap')
-rwxr-xr-xscripts/build/bootstrap_debootstrap8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/build/bootstrap_debootstrap b/scripts/build/bootstrap_debootstrap
index 697a093bb..f0262aa8c 100755
--- a/scripts/build/bootstrap_debootstrap
+++ b/scripts/build/bootstrap_debootstrap
@@ -37,8 +37,10 @@ Echo_message "Begin bootstrapping system..."
Check_package chroot bin/debootstrap debootstrap
# Checking stage file
-Check_stagefile .build/bootstrap
-Check_stagefile .build/bootstrap_cache.restore
+Check_stagefile bootstrap
+# Note, this must match that used in `bootstrap_cache`
+STAGE_FILE="bootstrap_cache.restore"
+Check_stagefile "${STAGE_FILE}"
# Acquire lock file
Acquire_lockfile
@@ -118,4 +120,4 @@ rm -f chroot/etc/hosts
rm -f chroot/var/cache/apt/archives/*.deb
# Creating stage file
-Create_stagefile .build/bootstrap
+Create_stagefile bootstrap