1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-19 04:21:17 +00:00

resource getter: Change the order in which executable paths checked.

This commit is contained in:
Sergei Trofimov 2015-06-30 15:54:40 +01:00
parent 90ea2dd569
commit 6affc484f4

View File

@ -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):