mirror of https://github.com/CGAL/cgal
Fix the way the version number is computed. Works now with -Ic- internal
releases.
This commit is contained in:
parent
68700cdf01
commit
1658badd6c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue