Browse Source

Multi-profile support

bryan 2 years ago
parent
commit
295855e0ae
1 changed files with 5 additions and 2 deletions
  1. 5 2
      openwrtbuilder

+ 5 - 2
openwrtbuilder

@@ -612,12 +612,15 @@ main() {
         debug "Profile: $profile"
         loadProfiles
 
-
         [[ ! ${!profile@a} = A ]] && echo "Profile does not exist" && return 1
+
+        debug "r4s: ${!r4s@}"
+
         declare -gn P_ARR="$profile"
 
+        debug
         debug "P_ARR: ${P_ARR[*]}"
-        
+
         : "${BUILDDIR:=$SCRIPTDIR}"
         : "${FILESDIR:=$BUILDDIR/files}"