HBASE-10284 Build broken with svn 1.8

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1555962 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
larsh 2014-01-06 18:25:19 +00:00
parent bcb3e690eb
commit 9e8e547409
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ date=`date`
cwd=`pwd` cwd=`pwd`
if [ -d .svn ]; then if [ -d .svn ]; then
revision=`svn info | sed -n -e 's/Last Changed Rev: \(.*\)/\1/p'` revision=`svn info | sed -n -e 's/Last Changed Rev: \(.*\)/\1/p'`
url=`svn info | sed -n -e 's/URL: \(.*\)/\1/p'` url=`svn info | sed -n -e 's/^URL: \(.*\)/\1/p'`
elif [ -d .git ]; then elif [ -d .git ]; then
revision=`git log -1 --pretty=format:"%H"` revision=`git log -1 --pretty=format:"%H"`
hostname=`hostname` hostname=`hostname`