Skip to content

Commit

Permalink
make newly written submit script executable
Browse files Browse the repository at this point in the history
  • Loading branch information
nsheff committed Apr 24, 2023
1 parent ca49a06 commit 30e777e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions divvy/utils.py
Expand Up @@ -41,4 +41,5 @@ def write_submit_script(fp, content, data):
os.makedirs(outdir)
with open(fp, "w") as f:
f.write(content)
os.chmod(fp, 0o755) # make executable
return fp

0 comments on commit 30e777e

Please sign in to comment.