init.rb in rwdshell-0.97 vs init.rb in rwdshell-0.98
- old
+ new
@@ -63,9 +63,12 @@
# integrate the new configuration files
MAINconfignew = "rwdconfig.cnf"
MAINconfigdist = "rwdconfig.dist"
Rconftool::install(MAINconfigdist,MAINconfignew)
+#load main config file
+load 'rwdconfig.cnf'
+
Dir.chdir("configuration") #changes the current working directory
fileList = Dir.new(".").entries.sort.reverse.delete_if { |x| ! (x =~ /dist$/) } #creates an Array separated with \n
@doc = ""
fileList.length.times{ #opening of a block