version.pl: don't add an extra .00 for subminor if we don't need it
authorH. Peter Anvin <hpa@zytor.com>
Fri, 24 Oct 2008 17:10:32 +0000 (10:10 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 24 Oct 2008 17:10:32 +0000 (10:10 -0700)
commitb2783e19a3a420c8efafbca21cfa9614d9eb7795
tree0ea34baae7adc16c18c30d646b62174af6df6e09
parent912595dfc05d76304251fe748053f1b095db37ac
version.pl: don't add an extra .00 for subminor if we don't need it

When producing the mangled version number, don't add a subminor if
there isn't a patch level or release candidate number.  Thus, 2.05p1
is 2.05.00.01, but 2.05 can just be 2.05.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
version.pl