diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-10-13 12:10:08 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-10-13 12:10:08 +0100 |
commit | a35a675fa7ceedc0eebbd0e6a97541e145ccf208 (patch) | |
tree | fd8a1fcf0cdccde414f7466912d8f9592adeaffb /lib | |
parent | man page update (diff) |
start version marking interim releases
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/v0/param.rb | 2 |
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 |