From afb6c5a88773d4da4a8dfd88f19654ca585efc95 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 20 Nov 2020 23:24:22 +0000 Subject: [PATCH] scripts/run-config: Ensure stepnum has a value when there are no steps Signed-off-by: Richard Purdie --- scripts/run-config | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/run-config b/scripts/run-config index ff56fbe..e600bf9 100755 --- a/scripts/run-config +++ b/scripts/run-config @@ -82,6 +82,7 @@ elif args.build_type == "full": # Find out the number of steps this target has maxsteps = 0 +stepnum = 0 if args.target in ourconfig['overrides']: for v in ourconfig['overrides'][args.target]: if v.startswith("step"):