drop "patches" from version string

This commit is contained in:
Simon Michael 2009-12-03 23:31:58 +00:00
parent c89a14fab1
commit 7f69e73068

View File

@ -51,7 +51,7 @@ versionstr = prettify $ splitAtElement '.' buildversion :: String
| bugfix `elem` ["0"{-,"98","99"-}] = ""
| otherwise = "."++bugfix
patches'
| patches/="0" = "+"++patches++" patches"
| patches/="0" = "+"++patches
| otherwise = ""
prettify s = intercalate "." s