Martin Blanchard pushed to branch master at BuildGrid / buildgrid
Commits:
-
81ee2399
by Finn at 2018-10-11T17:16:03Z
1 changed file:
Changes:
... | ... | @@ -169,6 +169,7 @@ def run_command(context, input_root, commands, output_file, output_directory): |
169 | 169 |
|
170 | 170 |
downloader.download_file(output_file_response.digest, path)
|
171 | 171 |
|
172 |
- if output_file_response.path in output_executeables:
|
|
173 |
- st = os.stat(path)
|
|
174 |
- os.chmod(path, st.st_mode | stat.S_IXUSR)
|
|
172 |
+ for output_file_response in execute_response.result.output_files:
|
|
173 |
+ if output_file_response.path in output_executeables:
|
|
174 |
+ st = os.stat(path)
|
|
175 |
+ os.chmod(path, st.st_mode | stat.S_IXUSR)
|