lib/boot.rb in forj-1.0.12 vs lib/boot.rb in forj-1.0.13
- old
+ new
@@ -251,12 +251,12 @@
def self.ca_root_file_detect(param)
res_found = param.match(/^(.*)#(.*)$/)
if res_found
- cert_file = res_found[1]
+ cert_file = File.expand_path(res_found[1])
else
- cert_file = param
+ cert_file = File.expand_path(param)
end
unless File.readable?(cert_file)
PrcLib.error("Unable to read the Root Certificate file '%s'", cert_file)
return nil