[
https://issues.apache.org/jira/browse/RANGER-1620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16027733#comment-16027733
]
Gautam Borad commented on RANGER-1620:
--------------------------------------
Committed to master : bc4ab70bf4e4c32882392366bc653dde64a253f4
Committed to ranger-0.7 : 5cee254303eb379ecc0633943542b0f2f396cd4c
> Fix kafka-ranger-env.sh script to not throw error when it is sourced from bash
> ------------------------------------------------------------------------------
>
> Key: RANGER-1620
> URL: https://issues.apache.org/jira/browse/RANGER-1620
> Project: Ranger
> Issue Type: Bug
> Components: plugins
> Reporter: Gautam Borad
> Assignee: Gautam Borad
> Priority: Critical
> Fix For: 0.7.0, 1.0.0
>
> Attachments: RANGER-1620.patch
>
>
> Current implementation of kafka-ranger-env.sh relies on the $0 bash variable,
> However, when the script is sourced using the {{source}} or the {{.}}
> command, the {{$0}} variable expands to text {{-bash}} which gives an error.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)