Skip to content

Commit 33c34d3

Browse files
committed
Fix script finding in util module
1 parent a083522 commit 33c34d3

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
0.2.6
2+
=====
3+
4+
* fix script finding in util modules
5+
6+
17
0.2.5
28
=====
39

@@ -10,6 +16,7 @@ This is the first public release.
1016
PyRun_SimpleString.
1117
* Add script to build wheel in docker container.
1218

19+
1320
0.1.0
1421
=====
1522

src/gdbdbg/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Copyright 2024 VMware, Inc.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
__version__ = "0.2.5"
4+
__version__ = "0.2.6"

src/gdbdbg/util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
def find_dist_info():
1010
"""Find relenv_gdb's dist-info directory."""
11-
for name in pathlib.Path(__file__).parent.parent.rglob("relenv_gdb*dist-info"):
11+
for name in pathlib.Path(__file__).parent.parent.rglob("gdbdbg*dist-info"):
1212
return name
1313

1414

@@ -17,7 +17,7 @@ def find_relenv_gdb():
1717
dist_info = find_dist_info()
1818
text = pathlib.Path(dist_info, "RECORD").read_text()
1919
for line in text.split("\n"):
20-
if "bin/relenv-gdb" in line:
20+
if "bin/gdbdbg-gdb" in line:
2121
location, digest, size = line.rsplit(",", 2)
2222
script = (pathlib.Path(dist_info).parent / location).resolve()
2323
if script.exists():

0 commit comments

Comments
 (0)