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 --- functions/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions/init.sh') diff --git a/functions/init.sh b/functions/init.sh index d39bf1b5a..708e3d275 100755 --- a/functions/init.sh +++ b/functions/init.sh @@ -12,7 +12,7 @@ Auto_build_config () { # Automatically build config - if [ -x auto/config ] && [ ! -e .build/config ]; then + if [ -x auto/config ] && ! Stagefile_exists config; then Echo_message "Automatically populating config tree." lb config fi -- cgit v1.2.3