lib/minke/config/reader.rb in minke-1.5.3 vs lib/minke/config/reader.rb in minke-1.5.4
- old
+ new
@@ -89,10 +89,10 @@
url.type = section['type']
end
end
def read_secure hash
- key_path = ENV['SSL_KEY_PATH'].to_s == '' ? '~/.ssh' : ENV['SSL_KEY_PATH']
+ key_path = ENV['SSL_KEY_PATH'].to_s == '' ? "#{ENV['HOME']}/.ssh" : ENV['SSL_KEY_PATH']
fingerprint = hash['secure']['fingerprint']
value = hash['secure']['value']