From 4f58acd51b2deff979ae4843cad2e84c65e9069f Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 23 Feb 2024 15:48:19 +0100 Subject: [PATCH] libpbuild.bash: issue with compile in source tree fixed yes, no must be all lower case! --- Pmodules/libpbuild.bash | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Pmodules/libpbuild.bash b/Pmodules/libpbuild.bash index 42dd0e6..8ce8433 100644 --- a/Pmodules/libpbuild.bash +++ b/Pmodules/libpbuild.bash @@ -708,19 +708,19 @@ readonly -f pbuild::use_cc # Arguments: # none # -declare -- compile_in_sourcetree='No' +declare -- compile_in_sourcetree='no' pbuild::compile_in_sourcetree() { if [[ ${opt_yaml} == 'yes' ]]; then std::info \ "Using ${FUNCNAME} is deprecated with YAML module configuration files." fi - compile_in_sourcetree='Yes' + compile_in_sourcetree='yes' } readonly -f pbuild::compile_in_sourcetree pbuild.compile_in_sourcetree(){ - if [[ "${1,,}" == 'Yes' ]]; then - compile_in_sourcetree='Yes' + if [[ "${1,,}" == 'yes' ]]; then + compile_in_sourcetree='yes' fi }