Fix the way the version number is computed. Works now with -Ic- internal

releases.
This commit is contained in:
Laurent Rineau 2010-03-02 15:15:42 +00:00
parent 68700cdf01
commit 1658badd6c
1 changed files with 2 additions and 2 deletions

View File

@ -301,8 +301,8 @@ sub create_version_tex_file()
$newver = $VERSION;
}
# And here we also strip the -I-... part to get the public version number
if ($result = $VERSION =~ /CGAL-(.*)-I-/){
# And here we also strip the -I- (or -Ic-)... part to get the public version number
if ($result = $VERSION =~ /CGAL-(.*)-Ic?-/){
$publicver = $1;
} else {
$publicver = $VERSION;