Fix a warning

"Name "main::result" used only once: possible typo at
 [...]/create_internal_release line 226."
This commit is contained in:
Laurent Rineau 2014-02-18 15:56:00 +01:00
parent ff4998e246
commit c2c472b20b
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ sub create_version_file()
{
#if VERSION starts with CGAL-, we remove "CGAL-" from version
#the $newver variable will store the right version
if ($result = $VERSION =~ /CGAL-(.*)/){
if ($VERSION =~ /CGAL-(.*)/) {
$newver = $1;
} else {
$newver = $VERSION;