[Win] Correct auto-version.pl script for two-digit version numbers
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Jul 2014 17:44:26 +0000 (17:44 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Jul 2014 17:44:26 +0000 (17:44 +0000)
commit99325ea08af753cd439c3752c43d65df141bf9ef
tree871aebaceba3518ed11dc8c1dac54ec89dee5e58
parent99025e9636bdd35405529d7067e0660dd9878730
[Win] Correct auto-version.pl script for two-digit version numbers
https://bugs.webkit.org/show_bug.cgi?id=135119
<rdar://problem/17743959>

Reviewed by David Kilzer.

The $MAJOR_VERSION must be the first digit of $BUILD_MAJOR_VERSION,
and $MINOR_VERSION must be the remaining digits.

Also correct regexp (line 90) that was allowing version numbers
larger than three digits to be processed.

* win/tools/scripts/auto-version.pl: Correct regular expression.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@171305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKitLibraries/ChangeLog
WebKitLibraries/win/tools/scripts/auto-version.pl