Multi-profile support

This commit is contained in:
2023-01-11 15:04:18 -05:00
parent 4447ccdd56
commit 22dd0f25f9

View File

@@ -481,7 +481,7 @@ fromSource() {
} }
debug() { (( DEBUG )) && echo "Running: $*"; } debug() { (( DEBUG )) && echo "Debug: $*"; }
askOk() { askOk() {
@@ -643,7 +643,7 @@ main() {
if (( DEBUG )) || (( PROFILE_INFO )); then if (( DEBUG )) || (( PROFILE_INFO )); then
echo "Profile settings:" echo "Profile settings:"
for x in "${!P_ARR[@]}"; do printf "[%s]=%s\n" "$x" "${P_ARR[$x]}"; done for x in "${!P_ARR[@]}"; do printf "%s=%s\n" "$x" "${P_ARR[$x]}"; done
fi fi
# Experimental # Experimental