Explorar o código

Multi-profile support

bryan %!s(int64=2) %!d(string=hai) anos
pai
achega
b381222022
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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"