From dde5d6260a39461029e1745c35a4ae6d1f216a46 Mon Sep 17 00:00:00 2001 From: bryan Date: Wed, 11 Jan 2023 15:11:54 -0500 Subject: [PATCH] Multi-profile support --- openwrtbuilder | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/openwrtbuilder b/openwrtbuilder index 43b097e..716dce9 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -611,13 +611,10 @@ main() { 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" - debug "P_ARR: ${P_ARR[*]}" - debug "HERE: ${P_ARR[target]}" - : "${BUILDDIR:=$SCRIPTDIR}" : "${FILESDIR:=$BUILDDIR/files}"