Repository: hbase
Updated Branches:
  refs/heads/0.98 2cfe99f10 -> 7a7bb1371


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


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/7a7bb137
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/7a7bb137
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/7a7bb137

Branch: refs/heads/0.98
Commit: 7a7bb1371649fc5484636939a3bb0fdfcd575474
Parents: 2cfe99f
Author: stack <[email protected]>
Authored: Wed Sep 24 09:21:03 2014 -0700
Committer: stack <[email protected]>
Committed: Wed Sep 24 09:22:11 2014 -0700

----------------------------------------------------------------------
 bin/hbase-daemon.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/7a7bb137/bin/hbase-daemon.sh
----------------------------------------------------------------------
diff --git a/bin/hbase-daemon.sh b/bin/hbase-daemon.sh
index 7c0234b..9d9f698 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

Reply via email to