Remove hardcoded paths

This commit is contained in:
Lawrence Hunter 2025-04-08 14:46:41 +01:00
parent b9da1d9e2d
commit d866b2a086
No known key found for this signature in database
GPG key ID: 2D3973C373360983
5 changed files with 5 additions and 5 deletions

View file

@ -7,7 +7,7 @@
#
# Original Author: Jean-Roch COULON - Thales
#!/usr/bin/python3
#!/usr/bin/env python3
class Parameter:

View file

@ -7,7 +7,7 @@
#
# Original Author: Jean-Roch COULON - Thales
#!/usr/bin/python3
#!/usr/bin/env python3
def define_blacklist(parameters):

View file

@ -7,7 +7,7 @@
#
# Original Author: Jean-Roch COULON - Thales
#!/usr/bin/python3
#!/usr/bin/env python3
import sys
import os

View file

@ -7,7 +7,7 @@
#
# Original Author: Jean-Roch COULON - Thales
#!/usr/bin/python3
#!/usr/bin/env python3
import re
import sys

View file

@ -1004,7 +1004,7 @@ def check_spike_version():
logging.info(f"- stderr:\n\n{user_spike_stderr_string}")
# Run 'ldd' on Spike binary and print contents of stdout and stderr.
spike_ldd = subprocess.run(
"/bin/ldd $SPIKE_PATH/spike", capture_output=True, text=True, shell=True
"ldd $SPIKE_PATH/spike", capture_output=True, text=True, shell=True
)
spike_ldd_stdout = spike_ldd.stdout.strip()
spike_ldd_stderr = spike_ldd.stderr.strip()