askpass.py should be executable
This commit is contained in:
parent
2b06ca5e1a
commit
441ea7d696
@ -57,6 +57,7 @@ class TestBuild(BaseTest):
|
|||||||
self.assertTrue(os.path.isdir(terminfo_dir), f'Terminfo dir: {terminfo_dir}')
|
self.assertTrue(os.path.isdir(terminfo_dir), f'Terminfo dir: {terminfo_dir}')
|
||||||
self.assertTrue(os.path.exists(logo_png_file), f'Logo file: {logo_png_file}')
|
self.assertTrue(os.path.exists(logo_png_file), f'Logo file: {logo_png_file}')
|
||||||
self.assertTrue(os.path.exists(zsh), f'Shell integration: {zsh}')
|
self.assertTrue(os.path.exists(zsh), f'Shell integration: {zsh}')
|
||||||
|
self.assertTrue(os.access(os.path.join(shell_integration_dir, 'ssh', 'askpass.py'), os.X_OK))
|
||||||
|
|
||||||
def test_ca_certificates(self):
|
def test_ca_certificates(self):
|
||||||
import ssl
|
import ssl
|
||||||
|
|||||||
2
setup.py
2
setup.py
@ -1306,7 +1306,7 @@ def package(args: Options, bundle_type: str) -> None:
|
|||||||
for root, dirs, files in os.walk(libdir):
|
for root, dirs, files in os.walk(libdir):
|
||||||
for f_ in files:
|
for f_ in files:
|
||||||
path = os.path.join(root, f_)
|
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:
|
if not is_macos:
|
||||||
create_linux_bundle_gunk(ddir, args.libdir_name)
|
create_linux_bundle_gunk(ddir, args.libdir_name)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user