Commit e574e1ea authored by Christian Stenger's avatar Christian Stenger

Squish: Fix tst_default_settings

Script error was introduced in d26f01fd.

Change-Id: Ifafcf41822fe0f3ad5ab5a3b507d54c7c314bdc3
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent 739d40af
......@@ -328,6 +328,6 @@ def findAllFilesInPATH(programGlob):
result = []
for path in os.environ["PATH"].split(os.pathsep):
for curr in glob.glob(os.path.join(path, programGlob)):
if os.path.isfile(curr) and os.access(os.X_OK):
if os.path.isfile(curr) and os.access(curr, os.X_OK):
result.append(curr)
return result
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment