From 6c54b503369c56a23ac9059bfad351e6b9977057 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Tue, 23 Apr 2024 19:13:19 +1200 Subject: scripts/functions: Use CT_Abort when paths.sh is missing Code added to deal with --enable-local used the non-existent CT_Error instead of CT_Abort. Use the correct function so the build aborts with a useful error message. Fixes #2141 Signed-off-by: Chris Packham --- scripts/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/functions b/scripts/functions index 841dce2c..a86c528f 100644 --- a/scripts/functions +++ b/scripts/functions @@ -2503,7 +2503,7 @@ if [ -r "${CT_LIB_DIR}/paths.sh" ]; then elif [ -r "${CT_TOP_DIR}/paths.sh" ]; then paths_sh_location="${CT_TOP_DIR}/paths.sh" else - CT_Error "Not found: paths.sh" + CT_Abort "Not found: paths.sh" fi . "${paths_sh_location}" -- cgit v1.2.3