summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_prep
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_prep')
-rwxr-xr-xscripts/build/chroot_prep2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/chroot_prep b/scripts/build/chroot_prep
index f9ebdea5f..b62bbb0fa 100755
--- a/scripts/build/chroot_prep
+++ b/scripts/build/chroot_prep
@@ -94,7 +94,7 @@ if In_list "archives" ${HELPERS} && [ -z "${ARCHIVES_PASS}" ]; then
exit 1
fi
-if In_list "archives" ${HELPERS} && [ ! -e .build/bootstrap ]; then
+if In_list "archives" ${HELPERS} && ! Stagefile_exists bootstrap; then
Echo_warning "The 'archives' helper is selected, but the bootstrap stage has not completed."
fi