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:
parent
bcb3e690eb
commit
9e8e547409
|
@ -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`
|
||||||
|
|
Loading…
Reference in New Issue