[Notes] [Git][BuildGrid/buildgrid][finn/internal-tutorial-fix] Fixed minor issue in execute command.



Title: GitLab

finn pushed to branch finn/internal-tutorial-fix at BuildGrid / buildgrid

Commits:

1 changed file:

Changes:

  • buildgrid/_app/commands/cmd_execute.py
    ... ... @@ -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)



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]