client: rename $global_shell_file -> $global_superscript

Provides clarity, avoids confusion.
This commit is contained in:
2024-09-22 18:35:44 -07:00
parent 51bf587ceb
commit 0ec42d2420
3 changed files with 19 additions and 19 deletions

View File

@@ -561,11 +561,11 @@ function lib_docker::__edit()
[ -z "$global_env_file" ] && lib_utils::die_fatal
[ ! -f "$global_env_file" ] \
&& lib_utils::die_fatal "Environment file now found"
&& lib_utils::die_fatal "Environment file not found"
[ -z "$global_shell_file" ] && lib_utils::die_fatal
[ ! -f "$global_shell_file" ] \
&& lib_utils::die_fatal "Shell (superscript) file now found"
[ -z "$global_superscript" ] && lib_utils::die_fatal
[ ! -f "$global_superscript" ] \
&& lib_utils::die_fatal "Shell (superscript) file not found"
# Run all files through one editor instance
local _paths=()
@@ -581,7 +581,7 @@ function lib_docker::__edit()
[[ "$global_platform" == "dev-tools" ]] \
&& lib_utils::die_fatal "Invalid platform, use finance image"
_paths+=("$global_shell_file")
_paths+=("$global_superscript")
;;
build | dockerfile)
[ -z "$global_custom_dockerfile" ] && lib_utils::die_fatal