File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
#
4
4
# An SSH_ASKPASS command for MacOS X
5
5
#
6
- # Author: Joseph Mocker, Sun Microsystems
6
+ # Original script from:
7
+ # http://blog.retep.org/2009/04/09/ssh-askpass-on-osx-10-5/
8
+ # Author: Joseph Mocker, Sun Microsystems
7
9
#
8
- # http://blog.retep.org/2009/04/09/ssh-askpass-on-osx-10-5/
9
10
10
11
#
11
12
# To use this script:
@@ -18,8 +19,7 @@ TITLE=${MACOS_ASKPASS_TITLE:-"SSH"}
18
19
DIALOG=" display dialog \" $@ \" default answer \"\" with title \" $TITLE \" "
19
20
DIALOG=" $DIALOG with icon caution with hidden answer"
20
21
21
- result=` osascript -e ' tell application "Finder"' -e " activate" -e " $DIALOG " -e " text returned of result" -e ' end tell' `
22
- osascript -e ' tell application "MacVim"' -e " activate" -e ' end tell'
22
+ result=` osascript -e ' tell application "MacVim"' -e " activate" -e " $DIALOG " -e " text returned of result" -e ' end tell' `
23
23
24
24
if [ " $result " = " " ]; then
25
25
exit 1
You can’t perform that action at this time.
0 commit comments