aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/urls.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-09-13 19:12:09 -0400
committerRalph Amissah <ralph@amissah.com>2011-09-13 19:12:09 -0400
commit2ec7a07f1a896a666fea65c109d0e344e0600651 (patch)
tree05c79ac6f416f9749945a8d28e32b23b1c001f58 /lib/sisu/v3/urls.rb
parentv3: CHANGELOG_v3, correct .orig.tar.xz name (>=3.0.15) (diff)
v3: correct sisupod references and path to .txz (replace .zip)
Diffstat (limited to 'lib/sisu/v3/urls.rb')
-rw-r--r--lib/sisu/v3/urls.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sisu/v3/urls.rb b/lib/sisu/v3/urls.rb
index cbb11ba5..a6612175 100644
--- a/lib/sisu/v3/urls.rb
+++ b/lib/sisu/v3/urls.rb
@@ -134,7 +134,7 @@ module SiSU_urls
SiSU_Screen::Ansi.new(@opt.cmd,"[#{@opt.f_pth[:lng_is]}] -#{x}","#{@prog.text_editor} #{@md.file.output_path.src.dir}/#{y}").result
end
def pod(x,y)
- SiSU_Screen::Ansi.new(@opt.cmd,"[#{@opt.f_pth[:lng_is]}] -#{x}","#{@prog.web_browser} #{@env.url.output_tell}/pod/#{y}").result
+ SiSU_Screen::Ansi.new(@opt.cmd,"[#{@opt.f_pth[:lng_is]}] -#{x}","#{@prog.web_browser} #{@env.url.output_tell}/src/pod/#{y}").result
end
self
end
@@ -347,9 +347,9 @@ module SiSU_urls
end
if x=~/^S/ \
and @opt.cmd =~/S/
- zipfile=if @opt.fns =~/\.ssm\.sst$/; y.gsub(/(?:\~\S{2,3})?(\.ssm\.sst\.zip)$/,'.ssm.zip')
- else y.gsub(/(?:\~\S{2,3})?(\.sst\.zip)$/,'\1')
- end
+ (@opt.fns =~/\.ssm\.sst$/) \
+ ? y.gsub(/(?:\~\S{2,3})?(\.ssm.sst\.txz)$/,'.ssm.txz')
+ : y.gsub(/(?:\~\S{2,3})?(\.sst\.txz)$/,'\1')
show.source.pod(x,y)
end
if x=~/^s/ \