mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-06-27 02:33:26 +01:00
resource getter: Change the order in which executable paths checked.
This commit is contained in:
@ -151,10 +151,10 @@ class EnvironmentExecutableGetter(ExecutableGetter):
|
||||
|
||||
def get(self, resource, **kwargs):
|
||||
paths = [
|
||||
os.path.join(settings.environment_root, 'bin',
|
||||
resource.platform, resource.filename),
|
||||
os.path.join(resource.owner.dependencies_directory, 'bin',
|
||||
resource.platform, resource.filename),
|
||||
os.path.join(settings.environment_root, 'bin',
|
||||
resource.platform, resource.filename),
|
||||
]
|
||||
for path in paths:
|
||||
if os.path.isfile(path):
|
||||
|
Reference in New Issue
Block a user