diff --git a/scripts/build.py b/scripts/build.py index 209ced781..61f2b0dce 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -694,7 +694,7 @@ def main(args): orig_branch = get_current_branch() if args.platform not in supported_builds and args.platform != 'all': - logging.error("Invalid build platform: {}".format(target_platform)) + logging.error("Invalid build platform: {}".format(args.platform)) return 1 build_output = {}