wel even slim met ${HOME} omgaan

This commit is contained in:
Ward Wouts 2005-01-28 20:13:54 +00:00
parent 70c130d89a
commit c23409e853

View file

@ -1,6 +1,6 @@
#!/usr/local/bin/ruby -w
# $Dwarf: ripnews.rb,v 1.85 2004/10/14 11:47:37 ward Exp $
# $Dwarf: ripnews.rb,v 1.86 2005/01/28 20:06:45 ward Exp $
# $Source$
#
@ -193,6 +193,7 @@ def parse_config(default = {})
config = {}
lines.collect!{|x|
x.gsub!(/\$\{HOME\}/, "#{ENV['HOME']}")
if x =~ /^\s*INCLUDEFILE=(.*?)\s*$/i
x = File.new($1).readlines
end