diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2022-12-27 22:42:47 +0100 |
---|---|---|
committer | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2022-12-27 22:42:47 +0100 |
commit | 6ac6c1933ecf06ee908ac4e0f0ad27d532ba7d88 (patch) | |
tree | 3208ac7b6371899f766c082fcb2121886a5b6265 /pyGHDL/cli | |
parent | a040eb775a5bcf7392d67595483d9dc6503e7075 (diff) | |
download | ghdl-6ac6c1933ecf06ee908ac4e0f0ad27d532ba7d88.tar.gz ghdl-6ac6c1933ecf06ee908ac4e0f0ad27d532ba7d88.tar.bz2 ghdl-6ac6c1933ecf06ee908ac4e0f0ad27d532ba7d88.zip |
Fixed glob pattern in DOM CLI test program.
Diffstat (limited to 'pyGHDL/cli')
-rwxr-xr-x | pyGHDL/cli/dom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyGHDL/cli/dom.py b/pyGHDL/cli/dom.py index 7ca4a17da..442ad6688 100755 --- a/pyGHDL/cli/dom.py +++ b/pyGHDL/cli/dom.py @@ -280,11 +280,11 @@ class Application(LineTerminal, ArgParseMixin): ) ) elif args.Directory is not None: - d: Path = args.Directory + d: Path = args.Directory.resolve() if not d.exists(): self.WriteError(f"Directory '{d!s}' does not exist.") - for file in d.glob("**/*.vhd?"): + for file in d.glob("**/*.vhd*"): self.WriteNormal(f"Parsing file '{file!s}'") document = self.addFile(file, "pretty") self.WriteInfo( |