Skip to content

Commit

Permalink
[nrf toup][nrfconnect] Fix zap-generate -o path argument
Browse files Browse the repository at this point in the history
Fix `-o` path argument to be relative to `.zap` file's location
instead of Matter library's location.

Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>
  • Loading branch information
maciejbaczmanski committed Jul 15, 2024
1 parent 3ee2f32 commit ddc27b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/west/zap_generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def do_run(self, args, unknown_args):
raise CommandError("No valid .zap file provided")

if args.output:
output_path = args.output
output_path = zap_file_path.parent / args.output
else:
output_path = zap_file_path.parent / "zap-generated"

Expand Down

0 comments on commit ddc27b4

Please sign in to comment.