hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject git commit: HBASE-10748 hbase-daemon.sh fails to execute with 'sh' command
Date Wed, 24 Sep 2014 16:21:24 GMT
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 <stack@apache.org>
Authored: Wed Sep 24 09:21:03 2014 -0700
Committer: stack <stack@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


Mime
View raw message