client: rename $global_shell_file -> $global_superscript
Provides clarity, avoids confusion.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user