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