Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Update ssh_helpers.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
sallyom committed Jan 22, 2016
1 parent 1878700 commit ed8e9fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/rhc/commands/git_clone.rb
Expand Up @@ -23,7 +23,7 @@ def run(app_name)

0
else
error "You do not have git installed. In order to fully interact with OpenShift you will need to install and configure a git client.#{RHC::Helpers.windows? ? ' We recommend this free application: Git for Windows - a basic git command line and GUI client https://git-for-windows.github.io/ : ''}"
error "You do not have git installed. In order to fully interact with OpenShift you will need to install and configure a git client.#{RHC::Helpers.windows? ? ' We recommend this free application: Git for Windows - a basic git command line and GUI client https://git-for-windows.github.io/.' : ''}"
2
end
end
Expand Down
5 changes: 3 additions & 2 deletions lib/rhc/ssh_helpers.rb
Expand Up @@ -461,10 +461,11 @@ def discover_ssh_executable
# looks for ssh.exe from msysgit or plink.exe from PuTTY, either on path or specific locations
guessing_locations <<
discover_windows_executables do |base|
[
from_path = ENV['PATH'].split(File::PATH_SEPARATOR).map {|p| p + File::ALT_SEPARATOR + "ssh.exe" }
from_path + [
'ssh.exe',
"#{base}\\Git\\bin\\ssh.exe",
"#{base}\\Git\\usr\\bin\\ssh.exe",
#"#{base}\\Git\\usr\\bin\\ssh.exe",
"#{base}\\ssh.exe",
'plink.exe',
"#{base}\\PuTTY\\plink.exe",
Expand Down

0 comments on commit ed8e9fd

Please sign in to comment.