Changeset 46424 in webkit


Ignore:
Timestamp:
Jul 27, 2009 11:54:28 AM (15 years ago)
Author:
pkasting@chromium.org
Message:

2009-07-27 Peter Kasting <pkasting@google.com>

Reviewed by Adam Roben.

https://bugs.webkit.org/show_bug.cgi?id=27323
Correctly parse command output, even when the line endings are not LF,
so that we don't create an autoversion.h that MSVC chokes on.

  • win/tools/scripts/auto-version.sh:
Location:
trunk/WebKitLibraries
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitLibraries/ChangeLog

    r45831 r46424  
     12009-07-27  Peter Kasting  <pkasting@google.com>
     2
     3        Reviewed by Adam Roben.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=27323
     6        Correctly parse command output, even when the line endings are not LF,
     7        so that we don't create an autoversion.h that MSVC chokes on.
     8
     9        * win/tools/scripts/auto-version.sh:
     10
    1112009-07-13  Brent Fulgham  <bfulgham@webkit.org>
    212
  • trunk/WebKitLibraries/win/tools/scripts/auto-version.sh

    r45993 r46424  
    3939
    4040if [ "$RC_PROJECTSOURCEVERSION" == "" ]; then
    41     PROPOSEDVERSION=$(cat "$SRCPATH/VERSION")
     41    PROPOSEDVERSION=`cat $SRCPATH/VERSION | sed -r 's/(.*\S+)\s*$/\1/'`
    4242else
    4343    PROPOSEDVERSION="$RC_PROJECTSOURCEVERSION"
     
    5353    BLDVARIANTVERSION=0
    5454fi
    55 SVNOPENSOURCEREVISION=`svn info | grep '^Revision' | sed 's/^Revision: \(.*\)/\1/'`
     55SVNOPENSOURCEREVISION=`svn info | grep '^Revision' | sed -r 's/^Revision: (.*\S+)\s*$/\1/'`
    5656
    5757BLDNMBR="$PROPOSEDVERSION"
Note: See TracChangeset for help on using the changeset viewer.