瀏覽代碼

Multi-profile support

bryan 2 年之前
父節點
當前提交
b381222022
共有 1 個文件被更改,包括 2 次插入0 次删除
  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"