aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/dal.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-03-01 20:46:02 -0500
committerRalph Amissah <ralph@amissah.com>2011-03-01 20:46:02 -0500
commit5abc572129ac49178aa77ea59cb8e5d611e6374f (patch)
tree9c3402a3d8fa17d1a3c7a4c8bcc81230d12cc2be /lib/sisu/v3/dal.rb
parentv3: 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/dal.rb')
-rw-r--r--lib/sisu/v3/dal.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sisu/v3/dal.rb b/lib/sisu/v3/dal.rb
index 1e1de19b..13414826 100644
--- a/lib/sisu/v3/dal.rb
+++ b/lib/sisu/v3/dal.rb
@@ -408,11 +408,11 @@ module SiSU_DAL
end
end
else
- hard="#{@dir.path.dal}/#{@md.fns}.meta"
+ hard="#{@dir.processing_path.dal}/#{@md.fns}.meta"
File.unlink(hard) if FileTest.file?(hard)
- hard="#{@dir.path.dal}/#{@md.fns}.txt"
+ hard="#{@dir.processing_path.dal}/#{@md.fns}.txt"
File.unlink(hard) if FileTest.file?(hard)
- hard="#{@dir.path.dal}/#{@md.fns}.debug.txt"
+ hard="#{@dir.processing_path.dal}/#{@md.fns}.debug.txt"
File.unlink(hard) if FileTest.file?(hard)
end
end
@@ -433,7 +433,7 @@ module SiSU_DAL
@data.each {|s| filename_meta.puts s.strip + "\n" unless s.strip.empty?}
end
else
- hard_idx_html="#{@dir.path.dal}/#{@md.fns}.idx.html"
+ hard_idx_html="#{@dir.processing_path.dal}/#{@md.fns}.idx.html"
File.unlink(hard_idx_html) if FileTest.file?(hard_idx_html)
end
end