aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/hub.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/hub.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/hub.rb')
-rw-r--r--lib/sisu/v3/hub.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sisu/v3/hub.rb b/lib/sisu/v3/hub.rb
index 4fdbdf89..7794c08c 100644
--- a/lib/sisu/v3/hub.rb
+++ b/lib/sisu/v3/hub.rb
@@ -504,11 +504,11 @@ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/
op('urls','urls')
@msg,@msgs="\tsisu -W [to start ruby web-server on output directory]\n",nil unless @opt.cmd =~/q/
@tell.call.print_brown if @opt.cmd =~/[uUvVM]/ unless @opt.files.join.empty?
- if defined? @@env.path.processing \
+ if defined? @@env.processing_path.processing \
and @@env.user \
- and FileTest.directory?(@@env.path.processing) \
- and @@env.path.processing =~/#{@@env.user}$/ #clean temporary processing directory of content as is located in public area
- cd(@@env.path.processing_base_tmp) do
+ and FileTest.directory?(@@env.processing_path.processing) \
+ and @@env.processing_path.processing =~/#{@@env.user}$/ #clean temporary processing directory of content as is located in public area
+ cd(@@env.processing_path.processing_base_tmp) do
rm_rf(@@env.user) unless @opt.cmd =~/M/
end end
elsif @opt.mod.inspect =~/--query/