HBASE-10748 hbase-daemon.sh fails to execute with 'sh' command

This commit is contained in:
stack 2014-09-24 09:21:03 -07:00
parent eca856bad6
commit 1fbab729a3

View File

@ -172,7 +172,7 @@ if [ "$HBASE_NICENESS" = "" ]; then
export HBASE_NICENESS=0 export HBASE_NICENESS=0
fi fi
thiscmd=$0 thiscmd="$bin/$(basename ${BASH_SOURCE-$0})"
args=$@ args=$@
case $startStop in case $startStop in