run.sh: In main(), invert the invocation order of check_clean_up and
ensure_ston_config_exists, to prevent error messages regarding the absence of configuration when the command was invoked to clean up the cache only. Resolve the existing dependency order which was manifested by the
config_smalltalk variable (read in check_clean_up and written in ensure_ston_config_exists) by moving the "Continue with build progress?" prompt into the latter function, ensure_ston_config_exists. We only show this prompt if the local variable
first_action has been set, which at the moment only happens in check_clean_up.
run.sh
: Inmain()
, invert the invocation order ofcheck_clean_up
andensure_ston_config_exists
, to prevent error messages regarding the absence of configuration when the command was invoked to clean up the cache only. Resolve the existing dependency order which was manifested by theconfig_smalltalk
variable (read incheck_clean_up
and written inensure_ston_config_exists
) by moving the "Continue with build progress?" prompt into the latter function,ensure_ston_config_exists
. We only show this prompt if the local variablefirst_action
has been set, which at the moment only happens incheck_clean_up
.Fixes #519.