wel even slim met ${HOME} omgaan
This commit is contained in:
parent
70c130d89a
commit
c23409e853
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue