[
https://issues.apache.org/jira/browse/RANGER-4021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chinmay N Hegde resolved RANGER-4021.
-------------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
> Shell syntax bug in kms setup.sh
> --------------------------------
>
> Key: RANGER-4021
> URL: https://issues.apache.org/jira/browse/RANGER-4021
> Project: Ranger
> Issue Type: Bug
> Components: kms
> Affects Versions: 3.0.0, 2.3.0, 2.4.0
> Reporter: kirby zhou
> Assignee: Chinmay N Hegde
> Priority: Major
> Fix For: 3.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
>
> {code:java}
> if [[ ${useringrouparr[1]} =~ "(${unix_group})" ]]
> {code}
> Don't quote right-hand side of =~, it'll match literally rather than as a
> regex.
>
>
> {code:java}
> echo "${prefix} $@" >> $LOGFILE
> echo "${prefix} $@"
> {code}
> Argument mixes string and array. Use * or separate argument.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)