File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,12 @@ declare -a -g CLI_NON_PARAM_ARGS=()
27
27
parse_command_line_arguments " ${@ } " # which fills the above vars & exports the key=value pairs from cmdline into environment
28
28
# From here on, no more $1 ${1} or similar. We've parsed it all into CLI_PARSED_CMDLINE_PARAMS (already exported in environment) or CLI_NON_PARAM_ARGS
29
29
30
+ # # Global debug helpers; to use for coreutils mv/cp/etc; usage: mv "${debug_dash_v[@]}" here there
31
+ declare -g -a debug_dash_v=()
32
+ if [[ " ${DEBUG} " == " yes" ]]; then
33
+ debug_dash_v+=(" -v" )
34
+ fi
35
+
30
36
# ## Configuration
31
37
declare -g HOOK_KERNEL_OCI_BASE=" ${HOOK_KERNEL_OCI_BASE:- " quay.io/tinkerbell/hook-kernel" } "
32
38
declare -g HOOK_LK_CONTAINERS_OCI_BASE=" ${HOOK_LK_CONTAINERS_OCI_BASE:- " quay.io/tinkerbell/" } "
You can’t perform that action at this time.
0 commit comments