From b381222022648a7298a9e9bc3fa8fb21b301a1db Mon Sep 17 00:00:00 2001 From: bryan Date: Wed, 11 Jan 2023 14:45:59 -0500 Subject: [PATCH] Multi-profile support --- openwrtbuilder | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openwrtbuilder b/openwrtbuilder index 2bea7af..87682a1 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -609,6 +609,8 @@ main() { for profile in "${PROFILES[@]}"; do + debug "Profile: $profile" + [[ ! ${!profile@a} = A ]] && echo "Profile does not exist" && return 1 declare -gn P_ARR="$profile"