1
0
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:
Sergei Trofimov
2015-06-30 15:54:40 +01:00
parent 90ea2dd569
commit 6affc484f4

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