askpass.py should be executable

This commit is contained in:
Kovid Goyal
2022-03-13 14:48:11 +05:30
parent 2b06ca5e1a
commit 441ea7d696
2 changed files with 2 additions and 1 deletions

View File

@@ -1306,7 +1306,7 @@ def package(args: Options, bundle_type: str) -> None:
for root, dirs, files in os.walk(libdir):
for f_ in files:
path = os.path.join(root, f_)
os.chmod(path, 0o755 if f_.endswith('.so') else 0o644)
os.chmod(path, 0o755 if f_.endswith('.so') or os.path.basename(f_) == 'askpass.py' else 0o644)
if not is_macos:
create_linux_bundle_gunk(ddir, args.libdir_name)