aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-10-13 12:10:08 +0100
committerRalph Amissah <ralph@amissah.com>2007-10-13 12:10:08 +0100
commita35a675fa7ceedc0eebbd0e6a97541e145ccf208 (patch)
treefd8a1fcf0cdccde414f7466912d8f9592adeaffb /lib
parentman page update (diff)
start version marking interim releases
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v0/param.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v0/param.rb b/lib/sisu/v0/param.rb
index 90aad6aa..194c42f9 100644
--- a/lib/sisu/v0/param.rb
+++ b/lib/sisu/v0/param.rb
@@ -209,7 +209,7 @@ module SiSU_Param
sv=if @cmd =~/[VMv]/; "SiSU version (#{@sisu_version[:version]})"
else ''
end
- s_a,s_b,s_c=@sisu_version[:version].match(/^([0-9]+)?(?:\.([0-9]+))?(?:\.([0-9]+))?$/)[1..3]
+ s_a,s_b,s_c=@sisu_version[:version].match(/^([0-9]+)?(?:\.([0-9]+))?(?:\.([0-9]+))?(?:\-\S+)?$/)[1..3]
tell=if @markup_version_declared.to_f == @markup_version.to_f
SiSU_Screen::Ansi.new(@cmd,"Markup version (#@markup_version)",sv)
else