public
Description: Pure Ruby implementation of an SSH (protocol 2) client
Homepage: http://rubyforge.org/projects/net-ssh
Clone URL: git://github.com/jamis/net-ssh.git
set HOME environment variable if it is not already set
jamis (author)
Sat Apr 19 20:09:12 -0700 2008
commit  f28f891b03eb0856154314427aba8e53794a1cc3
tree    da77e35f5c4b4d80e8003bd6f8219f673bd194aa
parent  a4a01eb7c3939b1a34e1e2d2dd233a2b34fe504a
...
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
0
@@ -1,3 +1,7 @@
0
+# Make sure HOME is set, regardless of OS, so that File.expand_path works
0
+# as expected with tilde characters.
0
+ENV['HOME'] ||= ENV['HOMEPATH'] ? "#{ENV['HOMEDRIVE']}#{ENV['HOMEPATH']}" : "."
0
+
0
 require 'logger'
0
 
0
 require 'net/ssh/config'

Comments

    No one has commented yet.