diff --git a/openwrtbuilder b/openwrtbuilder index 2bea7af..87682a1 100755 --- a/openwrtbuilder +++ b/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"