From ee91e6282464321d5f1e8694c048c24abf8d15d7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 24 Feb 2016 23:21:06 -0500 Subject: json, an output representation, first pass --- lib/sisu/hub.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/sisu/hub.rb') diff --git a/lib/sisu/hub.rb b/lib/sisu/hub.rb index c5bd0ced..49d569a5 100644 --- a/lib/sisu/hub.rb +++ b/lib/sisu/hub.rb @@ -129,6 +129,7 @@ module SiSU actions.outputs.each_file.html? actions.outputs.each_file.xhtml? actions.outputs.each_file.xml? + actions.outputs.each_file.json? actions.outputs.each_file.pdf? actions.outputs.each_file.man_or_info? actions.outputs.each_file.po4a_make? @@ -260,7 +261,7 @@ module SiSU ensure if FileTest.directory?(env.processing_path.processing) \ and FileTest.directory?(env.processing_path.processing_base_tmp) \ - and env.processing_path.processing_base_tmp =~/#{env.processing_path.processing}/ \ + and env.processing_path.processing_base_tmp =~ /#{env.processing_path.processing}/ \ and env.processing_path.processing_base_tmp =~/^\/tmp\/\S+/ \ and not argv.inspect =~/"--maintenance"|"-M"/ FileUtils::cd(env.processing_path.processing_base_tmp) do -- cgit v1.2.3