lib/foreman/engine.rb in foreman-0.24.0 vs lib/foreman/engine.rb in foreman-0.25.0

- old
+ new

@@ -182,10 +182,10 @@ def read_environment(filename) return {} unless File.exists?(filename) File.read(filename).split("\n").inject({}) do |hash, line| - if line =~ /\A([A-Za-z_]+)=(.*)\z/ + if line =~ /\A([A-Za-z_0-9]+)=(.*)\z/ hash[$1] = $2 end hash end end