Multi-profile support
This commit is contained in:
@@ -610,15 +610,13 @@ main() {
|
||||
for profile in "${PROFILES[@]}"; do
|
||||
|
||||
debug "Profile: $profile"
|
||||
loadProfiles
|
||||
|
||||
[[ ! ${!profile@a} = A ]] && echo "Profile does not exist" && return 1
|
||||
|
||||
debug "r4s: ${r4s[*]}"
|
||||
|
||||
declare -gn P_ARR="$profile"
|
||||
declare -gn P_ARR="${PROFILES[$profile}"
|
||||
|
||||
debug
|
||||
debug "P_ARR: ${P_ARR[*]}"
|
||||
|
||||
: "${BUILDDIR:=$SCRIPTDIR}"
|
||||
|
||||
Reference in New Issue
Block a user