Browse Source

Multi-profile support

bryan 2 năm trước cách đây
mục cha
commit
b381222022
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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"