diff options
author | Ralph Amissah <ralph@amissah.com> | 2011-03-01 20:46:02 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2011-03-01 20:46:02 -0500 |
commit | 5abc572129ac49178aa77ea59cb8e5d611e6374f (patch) | |
tree | 9c3402a3d8fa17d1a3c7a4c8bcc81230d12cc2be /lib/sisu/v3/param.rb | |
parent | v3: space between each and opening curly brace e.g. "x.each {|y| p y}" (diff) |
v3: sysenv, separate out processing_path method plus consequences
Diffstat (limited to 'lib/sisu/v3/param.rb')
-rw-r--r-- | lib/sisu/v3/param.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sisu/v3/param.rb b/lib/sisu/v3/param.rb index 67716685..9dfbc70f 100644 --- a/lib/sisu/v3/param.rb +++ b/lib/sisu/v3/param.rb @@ -84,7 +84,7 @@ module SiSU_Param end Instantiate.new.param_instantiate @env=SiSU_Env::Info_env.new(@fns) - @pstorefile="#{@env.path.dal}/#{@fns}.pstore" + @pstorefile="#{@env.processing_path.dal}/#{@fns}.pstore" end def get if @opt.f_pth[:pth] != Dir.pwd #BUG check @@ -905,8 +905,8 @@ module SiSU_Param and not @opt.cmd =~/P/ #watch @env_out_root=@env.path.output @dir_out="#{@env.path.output}/#{@fnb}" - @dir_tex=@env.path.processing_tex - @dir_lout=@env.path.lout + @dir_tex=@env.processing_path.tex + @dir_lout=@env.processing_path.lout @@publisher='SiSU http://www.jus.uio.no/sisu' end @txt_path=@txt_path ||= @env.path.output @@ -1369,7 +1369,7 @@ module SiSU_Param class Store def initialize(md,env) @md=md - @pstorefile="#{env.path.dal}/#{md.fns}.pstore" + @pstorefile="#{env.processing_path.dal}/#{md.fns}.pstore" end def store File.unlink(@pstorefile) if FileTest.file?(@pstorefile) |