You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2010/07/30 05:20:16 UTC

[jira] Commented: (HBASE-2798) hadoop-config.sh should use $BASH_SOURCE instead of $0

    [ https://issues.apache.org/jira/browse/HBASE-2798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893920#action_12893920 ] 

stack commented on HBASE-2798:
------------------------------

I committed this patch by mistake as part of hbase-2879 commit.

> 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.90.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.90.0
>
>         Attachments: 2798.txt
>
>
> 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.