aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-02-03 21:25:47 -0500
committerRalph Amissah <ralph@amissah.com>2013-02-03 21:31:46 -0500
commit3c26df4df6047219869203bb71680248a37c59b4 (patch)
tree22edfdc010abdb2583ba0bfd652786a2ba24270a /lib
parentv4 (v3): version & changelog (diff)
v4 (v3): sysenv, on --redirect, stop creation of redundant dir
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v3/sysenv.rb3
-rw-r--r--lib/sisu/v4/sysenv.rb3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/sisu/v3/sysenv.rb b/lib/sisu/v3/sysenv.rb
index bfe35c5d..8ed17f88 100644
--- a/lib/sisu/v3/sysenv.rb
+++ b/lib/sisu/v3/sysenv.rb
@@ -4106,7 +4106,8 @@ WOK
end
def html_segtoc
pth=((by_filename?) \
- || (output_dir_structure.dump?)) \
+ || (output_dir_structure.dump?) \
+ || (output_dir_structure.redirect?)) \
? "#{output_path.html.dir}"
: "#{output_path.html.dir}/#{@md.fnb}"
fn=base_filename.html_segtoc
diff --git a/lib/sisu/v4/sysenv.rb b/lib/sisu/v4/sysenv.rb
index 2b36a222..d8b6f4fd 100644
--- a/lib/sisu/v4/sysenv.rb
+++ b/lib/sisu/v4/sysenv.rb
@@ -4208,7 +4208,8 @@ WOK
end
def html_segtoc
pth=((by_filename?) \
- || (output_dir_structure.dump?)) \
+ || (output_dir_structure.dump?) \
+ || (output_dir_structure.redirect?)) \
? "#{output_path.html.dir}"
: "#{output_path.html.dir}/#{@md.fnb}"
fn=base_filename.html_segtoc