| Index: chrome/tools/build/linux/version.sh
|
| diff --git a/chrome/tools/build/linux/version.sh b/chrome/tools/build/linux/version.sh
|
| index 85b9e181789aa578d8fd7358737ab9445612bec3..ccaf35cf93656865af5769118c6714a1d116e7cd 100755
|
| --- a/chrome/tools/build/linux/version.sh
|
| +++ b/chrome/tools/build/linux/version.sh
|
| @@ -27,7 +27,7 @@ eval $(sed -e 's/\([^=]*\)=\(.*\)/\1="\2"/' \
|
| LASTCHANGE=$(svn info 2>/dev/null | grep "Revision:" | cut -d" " -f2-)
|
| if [ -z "$LASTCHANGE" ]; then
|
| # Maybe it's a git client
|
| - LASTCHANGE=$(git-svn info 2>/dev/null | grep "Revision:" | cut -d" " -f2-)
|
| + LASTCHANGE=$(git log | perl -lnwe 'if (s/^\s*git-svn-id:\s+.*\@(\d+)\s[a-f\d\-]+$/$1/) {print; exit; }')
|
| fi
|
|
|
| OFFICIAL_BUILD="false"
|
|
|