WebKit/win:
authorsfalken@apple.com <sfalken@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Dec 2007 05:44:54 +0000 (05:44 +0000)
committersfalken@apple.com <sfalken@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Dec 2007 05:44:54 +0000 (05:44 +0000)
        Fix version parsing.

        Rubber-stamped by Oliver.

        * WebKit.vcproj/auto-version.sh:

WebKitTools:

        Fix version parsing.

        Rubber-stamped by Oliver.

        * Drosera/win/Drosera.vcproj/auto-version.sh:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28557 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/win/ChangeLog
WebKit/win/WebKit.vcproj/auto-version.sh
WebKitTools/ChangeLog
WebKitTools/Drosera/win/Drosera.vcproj/auto-version.sh

index 7b2006b..90b5897 100644 (file)
@@ -1,5 +1,13 @@
 2007-12-07  Steve Falkenburg  <sfalken@apple.com>
 
+        Fix version parsing.
+
+        Rubber-stamped by Oliver.
+
+        * WebKit.vcproj/auto-version.sh:
+
+2007-12-07  Steve Falkenburg  <sfalken@apple.com>
+
         Fix build.
 
         * WebKit.vcproj/WebKit.vcproj:
index 5c0e879..a2c6d2c 100755 (executable)
@@ -50,9 +50,12 @@ if [ `grep -c -E "4\.|4$" "$VERSIONFILE"` -ne 0 ]; then
     exit 1
 fi
 
-BLDMAJORVERSION=`sed 's/\([^\.]*\)\.\([^.]*\)\(\.\([^.]*\)\)\?/\1/' "$VERSIONFILE"`
-BLDMINORVERSION=`sed 's/\([^\.]*\)\.\([^.]*\)\(\.\([^.]*\)\)\?/\2/' "$VERSIONFILE"`
-BLDVARIANTVERSION=`sed 's/\([^\.]*\)\.\([^.]*\)\(\.\([^.]*\)\)\?/\4/' "$VERSIONFILE"`
+BLDMAJORVERSION=`sed 's/\([^\.]*\)\(\.\([^.]*\)\(\.\([^.]*\)\)\?\)\?/\1/' "$VERSIONFILE"`
+BLDMINORVERSION=`sed 's/\([^\.]*\)\(\.\([^.]*\)\(\.\([^.]*\)\)\?\)\?/\3/' "$VERSIONFILE"`
+BLDVARIANTVERSION=`sed 's/\([^\.]*\)\(\.\([^.]*\)\(\.\([^.]*\)\)\?\)\?/\5/' "$VERSIONFILE"`
+if [ "$BLDMINORVERSION" == "" ]; then
+    BLDMINORVERSION=0
+fi
 if [ "$BLDVARIANTVERSION" == "" ]; then
     BLDVARIANTVERSION=0
 fi
index 07ee196..e6c10ce 100644 (file)
@@ -1,5 +1,13 @@
 2007-12-07  Steve Falkenburg  <sfalken@apple.com>
 
+        Fix version parsing.
+
+        Rubber-stamped by Oliver.
+
+        * Drosera/win/Drosera.vcproj/auto-version.sh:
+
+2007-12-07  Steve Falkenburg  <sfalken@apple.com>
+
         Build modifications for Drosera.
 
         Reviewed by Adam.
index 5c0e879..a2c6d2c 100644 (file)
@@ -50,9 +50,12 @@ if [ `grep -c -E "4\.|4$" "$VERSIONFILE"` -ne 0 ]; then
     exit 1
 fi
 
-BLDMAJORVERSION=`sed 's/\([^\.]*\)\.\([^.]*\)\(\.\([^.]*\)\)\?/\1/' "$VERSIONFILE"`
-BLDMINORVERSION=`sed 's/\([^\.]*\)\.\([^.]*\)\(\.\([^.]*\)\)\?/\2/' "$VERSIONFILE"`
-BLDVARIANTVERSION=`sed 's/\([^\.]*\)\.\([^.]*\)\(\.\([^.]*\)\)\?/\4/' "$VERSIONFILE"`
+BLDMAJORVERSION=`sed 's/\([^\.]*\)\(\.\([^.]*\)\(\.\([^.]*\)\)\?\)\?/\1/' "$VERSIONFILE"`
+BLDMINORVERSION=`sed 's/\([^\.]*\)\(\.\([^.]*\)\(\.\([^.]*\)\)\?\)\?/\3/' "$VERSIONFILE"`
+BLDVARIANTVERSION=`sed 's/\([^\.]*\)\(\.\([^.]*\)\(\.\([^.]*\)\)\?\)\?/\5/' "$VERSIONFILE"`
+if [ "$BLDMINORVERSION" == "" ]; then
+    BLDMINORVERSION=0
+fi
 if [ "$BLDVARIANTVERSION" == "" ]; then
     BLDVARIANTVERSION=0
 fi