HADOOP-7038. saveVersion script includes an additional \r while running whoami under windows. Contributed by Wang Xu.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1044490 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dc24696260
commit
bde004dcd0
|
@ -394,6 +394,9 @@ Release 0.22.0 - Unreleased
|
|||
HADOOP-7057. IOUtils.readFully and IOUtils.skipFully have typo in
|
||||
exception creation's message. (cos)
|
||||
|
||||
HADOOP-7038. saveVersion script includes an additional \r while running
|
||||
whoami under windows. (Wang Xu via cos)
|
||||
|
||||
Release 0.21.1 - Unreleased
|
||||
|
||||
IMPROVEMENTS
|
||||
|
|
|
@ -23,7 +23,7 @@ unset LC_CTYPE
|
|||
unset LC_TIME
|
||||
version=$1
|
||||
build_dir=$2
|
||||
user=`whoami`
|
||||
user=`whoami | tr '\n\r' '\n'`
|
||||
date=`date`
|
||||
cwd=`pwd`
|
||||
if [ -d .git ]; then
|
||||
|
|
Loading…
Reference in New Issue