Skip to content

Commit de2a337

Browse files
committed
Switch to uv. Deleted unwanted directories
Signed-off-by: Prabhu Subramanian <[email protected]>
1 parent d929e5f commit de2a337

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

blint_db/handlers/language_handlers/meson_handler.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def find_executables(self, project_name):
4545
full_path = file_path
4646
print ("Executing file", full_path)
4747
file_output = subprocess.run(
48-
["file", full_path], capture_output=True, check=False, env=os.environ.copy(), shell=sys.platform == "win32", encoding="utf-8"
48+
["/usr/bin/file", full_path], capture_output=True, check=False, env=os.environ.copy(), shell=sys.platform == "win32", encoding="utf-8"
4949
)
5050
if "ELF" in file_output.stdout:
5151
executable_list.append(full_path)
@@ -86,13 +86,13 @@ def find_meson_executables(project_name):
8686
full_path = file_path
8787
print ("Executing file", full_path)
8888
file_output = subprocess.run(
89-
["file", full_path], capture_output=True, check=False, env=os.environ.copy(), shell=sys.platform == "win32", encoding="utf-8"
89+
["/usr/bin/file", full_path], capture_output=True, check=False, env=os.environ.copy(), shell=sys.platform == "win32", encoding="utf-8"
9090
)
9191
if "ELF" in file_output.stdout:
9292
executable_list.append(full_path)
9393
return executable_list
9494

9595

9696
def strip_executables(file_path, loc=WRAPDB_LOCATION):
97-
strip_command = f"strip --strip-all {file_path}".split(" ")
97+
strip_command = f"/usr/local/opt/binutils/bin/strip --strip-all {file_path}".split(" ")
9898
subprocess.run(strip_command, cwd=loc, check=False, env=os.environ.copy(), shell=sys.platform == "win32", encoding="utf-8")

0 commit comments

Comments
 (0)