seqTemplate - fix more shellcheck warnings
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
readonly toolName=mytool
|
||||
|
||||
# Already defined by sequencer.sh, but may be overwritten
|
||||
#readonly seq_configName="${sq_scriptName}.cfg"
|
||||
#readonly seq_configTemplate="${seq_origin}/${sq_configName}.example"
|
||||
#readonly seq_configName="${sq_scriptName:?}.cfg"
|
||||
#readonly seq_configTemplate="${seq_origin:?}/${sq_configName:?}.example"
|
||||
|
||||
sq_aptOpt=
|
||||
sq_config=0
|
||||
@@ -12,13 +12,13 @@ sq_config=0
|
||||
seq_config() {
|
||||
## Called once before executing steps.
|
||||
## 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:
|
||||
#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:
|
||||
#if initSeqConfig "${seq_configName}" "${seq_configTemplate}" ; then
|
||||
#if initSeqConfig "${seq_configName:?}" "${seq_configTemplate:?}" ; then
|
||||
# sq_config=1
|
||||
#else
|
||||
# # End if no configuration file exists
|
||||
@@ -47,6 +47,7 @@ step_1() {
|
||||
exep "dmesg | head"
|
||||
}
|
||||
|
||||
# shellcheck disable=SC2034 # Appears unused
|
||||
readonly sqr_minVersion=16
|
||||
# shellcheck disable=SC1091 # Don't follow this source
|
||||
. /usr/local/bin/sequencer.sh
|
||||
|
Reference in New Issue
Block a user