aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/sysenv.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-05-28 05:25:04 -0400
committerRalph Amissah <ralph@amissah.com>2012-05-28 05:27:09 -0400
commit45a35b75f4196bbf30e65b64b4463ab4fb620846 (patch)
tree787af2de10a70eb39f2d2733765dc1c678a62d5e /lib/sisu/v3/sysenv.rb
parentv3: hub, manifest re-run where related multilingual documents, fix (diff)
v3: sisupod.txz processing
* BUG image copying/processing for sisupod
Diffstat (limited to 'lib/sisu/v3/sysenv.rb')
-rw-r--r--lib/sisu/v3/sysenv.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sisu/v3/sysenv.rb b/lib/sisu/v3/sysenv.rb
index f699ee92..acc38507 100644
--- a/lib/sisu/v3/sysenv.rb
+++ b/lib/sisu/v3/sysenv.rb
@@ -1885,7 +1885,11 @@ WOK
r=Px[:lng_lst].join('|')
u=/.+?\/([^\/]+)(?:\/(?:#{r})$|$)/
base_stub=@sys.pwd.gsub(u,'\1')
- "#{path.webserv}/#{base_stub}"
+ if Dir.pwd =~/\/sisupod\/[^\/]+\/sisupod\/doc/
+ "#{path.webserv}/doc"
+ else
+ "#{path.webserv}/#{base_stub}"
+ end
end
def feed
(defined? @rc['webserv']['feed']) \