You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2014/09/24 18:21:24 UTC

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

Repository: hbase
Updated Branches:
  refs/heads/master 46eada6e0 -> 5d4bc3ea1


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/5d4bc3ea
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5d4bc3ea
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5d4bc3ea

Branch: refs/heads/master
Commit: 5d4bc3ea1c83708c896484d450f0c32875a6830d
Parents: 46eada6
Author: stack <st...@apache.org>
Authored: Wed Sep 24 09:21:03 2014 -0700
Committer: stack <st...@apache.org>
Committed: Wed Sep 24 09:21:03 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/5d4bc3ea/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