From 1fbab729a35eafe0dd86dac937c1a3c88b9dea20 Mon Sep 17 00:00:00 2001 From: stack Date: Wed, 24 Sep 2014 09:21:03 -0700 Subject: [PATCH] HBASE-10748 hbase-daemon.sh fails to execute with 'sh' command --- bin/hbase-daemon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hbase-daemon.sh b/bin/hbase-daemon.sh index 7c0234bf742..9d9f698c8b4 100755 --- a/bin/hbase-daemon.sh +++ b/bin/hbase-daemon.sh @@ -172,7 +172,7 @@ if [ "$HBASE_NICENESS" = "" ]; then export HBASE_NICENESS=0 fi -thiscmd=$0 +thiscmd="$bin/$(basename ${BASH_SOURCE-$0})" args=$@ case $startStop in