You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 line
326 B

3 年之前
  1. #!/bin/sh
  2. basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
  3. case `uname` in
  4. *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
  5. esac
  6. if [ -x "$basedir/node" ]; then
  7. "$basedir/node" "$basedir/../sshpk/bin/sshpk-conv" "$@"
  8. ret=$?
  9. else
  10. node "$basedir/../sshpk/bin/sshpk-conv" "$@"
  11. ret=$?
  12. fi
  13. exit $ret