Skip to content

Commit

Permalink
Made sure the permissions tests also covers files with a make prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
n7s committed Aug 26, 2024
1 parent 7a49149 commit a74cfcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/silfont/fbtests/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def org_sil_software_check_repo_unneeded_exe_bits(family_directory):
if os.access(file, os.X_OK):
yield WARN, Message("text-files-no-need-exec-bits", f"Extra text files found that don't need executable bit set: \n\n({file})")

if file.startswith("pre"):
if file.startswith("pre") or file.startswith("make"):
file = os.path.join(root, file) # get absolute path
if not os.access(file, os.X_OK):
yield WARN, Message("script-files-need-exec-bits", f"Script files found which still need the executable bit set: \n\n({file})")

0 comments on commit a74cfcc

Please sign in to comment.