seqTemplate - fix more shellcheck warnings

This commit is contained in:
2022-07-01 10:49:25 +02:00
parent 808a87a3d2
commit 8d75b261f1

View File

@@ -3,8 +3,8 @@
readonly toolName=mytool readonly toolName=mytool
# Already defined by sequencer.sh, but may be overwritten # Already defined by sequencer.sh, but may be overwritten
#readonly seq_configName="${sq_scriptName}.cfg" #readonly seq_configName="${sq_scriptName:?}.cfg"
#readonly seq_configTemplate="${seq_origin}/${sq_configName}.example" #readonly seq_configTemplate="${seq_origin:?}/${sq_configName:?}.example"
sq_aptOpt= sq_aptOpt=
sq_config=0 sq_config=0
@@ -12,13 +12,13 @@ sq_config=0
seq_config() { seq_config() {
## Called once before executing steps. ## Called once before executing steps.
## e.g. to source a config file manually: ## e.g. to source a config file manually:
#. "${seq_origin}/${seq_configName}" #. "${seq_origin:?}/${seq_configName:?}"
## or to use sequencer api with profile config file support: ## or to use sequencer api with profile config file support:
#if initSeqConfig -p "${seq_fileName}" "${seq_configTemplate}" ; then #if initSeqConfig -p "${seq_fileName:?}" "${seq_configTemplate:?}" ; then
## or to use sequencer api with global config file: ## or to use sequencer api with global config file:
#if initSeqConfig "${seq_configName}" "${seq_configTemplate}" ; then #if initSeqConfig "${seq_configName:?}" "${seq_configTemplate:?}" ; then
# sq_config=1 # sq_config=1
#else #else
# # End if no configuration file exists # # End if no configuration file exists
@@ -47,6 +47,7 @@ step_1() {
exep "dmesg | head" exep "dmesg | head"
} }
# shellcheck disable=SC2034 # Appears unused
readonly sqr_minVersion=16 readonly sqr_minVersion=16
# shellcheck disable=SC1091 # Don't follow this source # shellcheck disable=SC1091 # Don't follow this source
. /usr/local/bin/sequencer.sh . /usr/local/bin/sequencer.sh