Repository: hbase
Updated Branches:
  refs/heads/branch-1 eca856bad -> 1fbab729a


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

Branch: refs/heads/branch-1
Commit: 1fbab729a35eafe0dd86dac937c1a3c88b9dea20
Parents: eca856b
Author: stack <[email protected]>
Authored: Wed Sep 24 09:21:03 2014 -0700
Committer: stack <[email protected]>
Committed: Wed Sep 24 09:21:36 2014 -0700

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


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