hadoop-config.sh should use $BASH_SOURCE instead of $0
------------------------------------------------------

                 Key: HBASE-2798
                 URL: https://issues.apache.org/jira/browse/HBASE-2798
             Project: HBase
          Issue Type: Improvement
          Components: build
    Affects Versions: 0.21.0
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon
            Priority: Minor
             Fix For: 0.21.0


Similar to HADOOP-6630, we should use $BASH_SOURCE instead of $0 to autolocate 
HBASE_HOME. This allows you to source hadoop-config.sh and it will correctly 
use its own location instead of the location of the bash script that sourced it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to