Multi-profile support
This commit is contained in:
@@ -611,11 +611,9 @@ main() {
|
||||
|
||||
debug "Profile: $profile"
|
||||
|
||||
[[ ! ${!profile@a} = A ]] && echo "Profile does not exist" && return 1
|
||||
#[[ ! ${!profile@a} = A ]] && echo "Profile does not exist" && return 1
|
||||
|
||||
debug "r4s: ${r4s[*]}"
|
||||
|
||||
declare -gn P_ARR="${PROFILES[$profile}"
|
||||
declare -gn P_ARR="$profile"
|
||||
|
||||
debug "P_ARR: ${P_ARR[*]}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user