From 13b9e561fef7718cd73cdb360948d75f441510d5 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 1 Oct 2010 23:38:50 -0400 Subject: hub, test whether user name set, fix (requested fix) --- lib/sisu/v2/hub.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/sisu/v2/hub.rb b/lib/sisu/v2/hub.rb index 85009d75..4b06a45c 100644 --- a/lib/sisu/v2/hub.rb +++ b/lib/sisu/v2/hub.rb @@ -490,6 +490,7 @@ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/ @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 \ + 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 -- cgit v1.2.3