From 5abc572129ac49178aa77ea59cb8e5d611e6374f Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 1 Mar 2011 20:46:02 -0500 Subject: v3: sysenv, separate out processing_path method plus consequences --- lib/sisu/v3/param.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/sisu/v3/param.rb') 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) -- cgit v1.2.3