Bug 428063, need to support long names with RC for the previous version too (update verify fix for 3.0rc1 -> 3.0rc2), r=bhearsum

git-svn-id: svn://10.0.0.236/trunk@251407 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nrthomas%gmail.com
2008-05-08 16:45:18 +00:00
parent c5576f629e
commit 86f038466c

View File

@@ -216,8 +216,9 @@ sub GetOldVersion {
my $oldVersion = $this->Get(var => 'oldVersion');
my $oldLongVersion = $oldVersion;
$oldLongVersion =~ s/a([0-9]+)/ Alpha $1/;
$oldLongVersion =~ s/b([0-9]+)/ Beta $1/;
$oldLongVersion =~ s/a([0-9]+)$/ Alpha $1/;
$oldLongVersion =~ s/b([0-9]+)$/ Beta $1/;
$oldLongVersion =~ s/rc([0-9]+)$/ RC $1/;
return ($longName) ? $oldLongVersion : $oldVersion;
}