diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-07-07 17:50:02 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-07-07 18:00:37 +0200 |
commit | 5215f4fa9898b5f56227cac6548857937adda8d1 (patch) | |
tree | ff6d50619ae8480ea0687f13a2316ec8399b849a /mesonbuild/mdevenv.py | |
parent | b44a51d0fdd48089d2cc3864d34a3ccad77ec52d (diff) | |
download | meson-5215f4fa9898b5f56227cac6548857937adda8d1.zip meson-5215f4fa9898b5f56227cac6548857937adda8d1.tar.gz meson-5215f4fa9898b5f56227cac6548857937adda8d1.tar.bz2 |
cleanup self.options.wd
It is never None and always an absolute path
Diffstat (limited to 'mesonbuild/mdevenv.py')
-rw-r--r-- | mesonbuild/mdevenv.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/mdevenv.py b/mesonbuild/mdevenv.py index 48108fe..c304cbb 100644 --- a/mesonbuild/mdevenv.py +++ b/mesonbuild/mdevenv.py @@ -37,7 +37,6 @@ def get_env(b: build.Build, build_dir: str) -> T.Dict[str, str]: return extra_env.get_env(env) def run(options: argparse.Namespace) -> int: - options.wd = os.path.abspath(options.wd) buildfile = Path(options.wd) / 'meson-private' / 'build.dat' if not buildfile.is_file(): raise MesonException(f'Directory {options.wd!r} does not seem to be a Meson build directory.') |