From 2d7ff4934d721f38ac5274c866e44e20d3bda2e8 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Sat, 2 May 2020 14:49:45 +0100 Subject: improve stagefiles encapsulation - added and used Stagefiles_dir() - added and used Stagefile_exists() pretty self explanatory. Gbp-Dch: Short --- scripts/build/chroot_prep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/build/chroot_prep') 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 -- cgit v1.2.3