Browse Source

Multi-profile support

bryan 2 years ago
parent
commit
dde5d6260a
1 changed files with 1 additions and 4 deletions
  1. 1 4
      openwrtbuilder

+ 1 - 4
openwrtbuilder

@@ -611,13 +611,10 @@ main() {
 
 
         debug "Profile: $profile"
         debug "Profile: $profile"
 
 
-        #[[ ! ${!profile@a} = A ]] && echo "Profile does not exist" && return 1
+        [[ ! ${!profile@a} = A ]] && echo "Profile does not exist" && return 1
 
 
         declare -gn P_ARR="$profile"
         declare -gn P_ARR="$profile"
 
 
-        debug "P_ARR: ${P_ARR[*]}"
-        debug "HERE: ${P_ARR[target]}"
-
         : "${BUILDDIR:=$SCRIPTDIR}"
         : "${BUILDDIR:=$SCRIPTDIR}"
         : "${FILESDIR:=$BUILDDIR/files}"
         : "${FILESDIR:=$BUILDDIR/files}"