seqTemplate - fix unbound variable error

This commit is contained in:
2022-06-08 17:18:44 +02:00
parent 4f8c1b5388
commit 0da95df9f4

View File

@@ -39,7 +39,7 @@ seq_config() {
step_1_info() { echoinfoArgs "[OPTIONS]"; echo "My custom step"; } step_1_info() { echoinfoArgs "[OPTIONS]"; echo "My custom step"; }
step_1_alias() { echo "begin"; } step_1_alias() { echo "begin"; }
step_1() { step_1() {
info "Doing something for step $1 ..." info "Doing something for step ${1:-} ..."
warning "Command line arguments starting with argument 2: $*" warning "Command line arguments starting with argument 2: $*"
# Use exe for regular command # Use exe for regular command
# Use exep "command" for commands containing pipes or redirects # Use exep "command" for commands containing pipes or redirects