diff --git a/src/west/app/project.py b/src/west/app/project.py index 1cd9aa8d..336c9343 100644 --- a/src/west/app/project.py +++ b/src/west/app/project.py @@ -281,6 +281,9 @@ def do_run(self, args, _): if args.local and (args.manifest_url or args.manifest_rev or args.clone_opt): self.die('-l cannot be combined with -m, -o or --mr') + if args.manifest_file is not None and Path(args.manifest_file).is_absolute(): + self.die(f'--mf {args.manifest_file} argument is not relative') + self.die_if_no_git() if args.local: