aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-10-01 23:38:50 -0400
committerRalph Amissah <ralph@amissah.com>2010-10-01 23:39:03 -0400
commit13b9e561fef7718cd73cdb360948d75f441510d5 (patch)
tree7dae1ddd2f81f088abb7d780b06812ef2348bfe5 /lib
parentepub, fix breakage where angle brackets used in used metadata header (diff)
hub, test whether user name set, fix
(requested fix)
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v2/hub.rb1
1 files changed, 1 insertions, 0 deletions
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