summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/git-cola/files/git-cola-1.9.1-system-ssh-askpass.patch')
-rw-r--r--dev-vcs/git-cola/files/git-cola-1.9.1-system-ssh-askpass.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-vcs/git-cola/files/git-cola-1.9.1-system-ssh-askpass.patch b/dev-vcs/git-cola/files/git-cola-1.9.1-system-ssh-askpass.patch
new file mode 100644
index 000000000000..0aa476fe83ea
--- /dev/null
+++ b/dev-vcs/git-cola/files/git-cola-1.9.1-system-ssh-askpass.patch
@@ -0,0 +1,16 @@
+diff --git a/cola/app.py b/cola/app.py
+index f9236de..4636c81 100644
+--- a/cola/app.py
++++ b/cola/app.py
+@@ -66,9 +66,9 @@ def setup_environment():
+ elif ssh_askpass:
+ askpass = ssh_askpass
+ elif sys.platform == 'darwin':
+- askpass = resources.share('bin', 'ssh-askpass-darwin')
++ askpass = resources.prefix('bin', 'ssh-askpass-darwin')
+ else:
+- askpass = resources.share('bin', 'ssh-askpass')
++ askpass = resources.prefix('bin', 'ssh-askpass')
+
+ compat.setenv('GIT_ASKPASS', askpass)
+ compat.setenv('SSH_ASKPASS', askpass)