HBASE-18461 Build broken If the username contains a backslash
Signed-off-by: tedyu <yuzhihong@gmail.com>
This commit is contained in:
parent
2cd58d83d3
commit
a0f980b573
|
@ -27,7 +27,11 @@ outputDirectory=$2
|
|||
pushd .
|
||||
cd ..
|
||||
|
||||
user=`whoami | sed -n -e 's/\\\/\\\\\\\\/p'`
|
||||
if [ "$user" == "" ]
|
||||
then
|
||||
user=`whoami`
|
||||
fi
|
||||
date=`date`
|
||||
cwd=`pwd`
|
||||
if [ -d .svn ]; then
|
||||
|
|
Loading…
Reference in New Issue