svn+ssh on MacOS X

Teknoloji

5 May 2009

Finally found a fix to an svn+ssh issue I was having on Mac OSX.  Great replacement for ssh_askpass on macos:

#! /bin/sh
# An SSH_ASKPASS command for MacOS X
# Author: Joseph Mocker, Sun Microsystems
TITLE=${MACOS_ASKPASS_TITLE:-"SSH"}
DIALOG="display dialog \"$@\" default answer \"\" with title \"$TITLE\""
DIALOG="$DIALOG with icon caution with hidden answer"
result=`osascript -e 'tell application "Finder"' -e "activate"  -e "$DIALOG" -e 'end tell'`
if [ "$result" = "" ]; then
    exit 1
else
    echo "$result" | sed -e 's/^text returned://' -e 's/, button returned:.*$//'
    exit 0
fi

Source/Kaynak : http://blogs.sun.com/jc/entry/svn_ssh_on_macos_x

Comment Form

Content In Different Language


Recent Comments


  • dima: Guys, thank you very much it helped me a lot ! [...]
  • jitendra: i tried install ubuntu virtualbox 3.0 on my acer aspire 5610 laptop. i get message " dependency is [...]
  • Gurkan Erdogdu: You can also look at Apache Incubator JSR 299 implementation called OpenWebBeans. It has lots of sam [...]
  • Gurkan Erdogdu: You can also Apache Incubator JSR 299 implementation called OpenWebBeans. It has lots of samples sho [...]
  • vijayanand: Please share your experence getting TOGAF certified? What are the pre-requite eligibility... Basic [...]
  • Our Scores