diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-08-23 00:15:05 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-08-23 00:15:05 +0100 |
commit | 9721c3a43077d20a64e584fc360c037de9a659e9 (patch) | |
tree | 3c7387046ebb6246e997e46ef930fe693089f5a0 /lib | |
parent | version bump to 0.57, minor addition to markup (a header to heading shortcut)... (diff) |
recognise .ssm filetype in hup, make sisu --identify parse .ssm files without complaining, (check for kockon)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/v0/hub.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v0/hub.rb b/lib/sisu/v0/hub.rb index d1396331..12e477c0 100644 --- a/lib/sisu/v0/hub.rb +++ b/lib/sisu/v0/hub.rb @@ -548,7 +548,7 @@ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/ @opt.files.each do |fns| if FileTest.file?(fns) @opt.fns=fns - unless @opt.fns =~ /(?:\.(?:[_-]?sst|ssp|sx[sdn]\.xml|termsheet.rb)|sisupod(?:\.zip)?)$/ + unless @opt.fns =~ /(?:\.(?:[_-]?sst|ssm|ssp|sx[sdn]\.xml|termsheet.rb)|sisupod(?:\.zip)?)$/ if @opt.fns=~/\.kdi$/ and @opt.mod.inspect =~/--(?:convert(?:-from)?|from)[=-]kdi/ elsif @opt.fns=~/\.sx[sdn]\.xml$/ and @opt.mod.inspect =~/--(?:(?:convert(?:-from)?|from)[=-])?(?:xml2sst|sxml)/ elsif @opt.fns=~/\.ssi$/ and @opt.mod.inspect =~/--identify/ |