Hi everyone:When I build hbase in my windows OS(Cygwin has
installed),hbase-common can't pass the compile due to
user=`whoami | sed -n -e 's/\\\/\\\\\\\\/p'`if [ "$user" == "" ]then
user=`whoami`fi
code
location:https://github.com/apache/hbase/blob/master/hbase-common/src/saveVersion.sh#L30
IN Linux, the return value of whoami is one line, but IN windows(whith
Cygwin)the return value of whoami has a line break which causes the compile
error.Am I right? Could someone give me a help to tell me the right way to
compile hbase in windows?