rename AM_CONFIG_ROOT to POSTAL_CONFIG_ROOT

This commit is contained in:
Adam Cooke
2017-05-05 09:50:49 +01:00
parent a3fe4a548d
commit 913190bce4
+2 -2
View File
@@ -35,8 +35,8 @@ module Postal
@config_root ||= begin
if __FILE__ =~ /\A\/opt\/postal/
Pathname.new("/opt/postal/config")
elsif ENV['AM_CONFIG_ROOT']
Pathname.new(ENV['AM_CONFIG_ROOT'])
elsif ENV['POSTAL_CONFIG_ROOT']
Pathname.new(ENV['POSTAL_CONFIG_ROOT'])
else
Pathname.new(File.expand_path("../../../config", __FILE__))
end