HBASE-683 can not get svn revision # at build time if locale is not english

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669376 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2008-06-19 03:42:45 +00:00
parent d27aeca2e5
commit 2f98213248
2 changed files with 3 additions and 0 deletions

View File

@ -58,6 +58,7 @@ Hbase Change Log
HBASE-694 HStore.rowAtOrBeforeFromMapFile() fails to locate the row if # of mapfiles >= 2
(Rong-En Fan via Bryan)
HBASE-652 dropping table fails silently if table isn't disabled
HBASE-683 can not get svn revision # at build time if locale is not english
IMPROVEMENTS
HBASE-559 MR example job to count table rows

View File

@ -20,6 +20,8 @@
# records the user, url, revision and timestamp.
#
# Copied from hadoop.
unset LANG
unset LC_CTYPE
version=$1
revision=`svn info | sed -n -e 's/Last Changed Rev: \(.*\)/\1/p'`
url=`svn info | sed -n -e 's/URL: \(.*\)/\1/p'`