ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gautam Borad (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RANGER-1620) Fix kafka-ranger-env.sh script to not throw error when it is sourced from bash
Date Sun, 28 May 2017 05:11:04 GMT
Gautam Borad created RANGER-1620:
------------------------------------

             Summary: 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
             Fix For: 1.0.0, 0.7.0


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)

Mime
View raw message