Browse Source

Multi-profile support

bryan 2 years ago
parent
commit
b381222022
1 changed files with 2 additions and 0 deletions
  1. 2 0
      openwrtbuilder

+ 2 - 0
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"