You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Olaf Flebbe (JIRA)" <ji...@apache.org> on 2018/03/30 07:17:00 UTC

[jira] [Assigned] (BIGTOP-3018) detect-javahome script has a typo in variable name

     [ https://issues.apache.org/jira/browse/BIGTOP-3018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olaf Flebbe reassigned BIGTOP-3018:
-----------------------------------

    Assignee: Heting Zhang

> detect-javahome script has a typo in variable name
> --------------------------------------------------
>
>                 Key: BIGTOP-3018
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-3018
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Init scripts
>    Affects Versions: 1.2.1
>            Reporter: Heting Zhang
>            Assignee: Heting Zhang
>            Priority: Minor
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> detect-javahome script : bigtop-packages/src/common/bigtop-utils/bigtop-detect-javahome
>  
> In line 56 and line 60, $OPENJAVA8_HOME_CANDIDATES can only be empty because there was a typo in defining variable $OPENJAVA8_HOME__CANDIDATES in line 34. There are two _ between "HOME" and "CANDIDATES" in line 34. But There is only one _ between "HOME" and "CANDIDATES" when using the variable in line 56 and line 60. For other variable using one _ as the separator instead of two _ , I suggest changing variable $OPENJAVA8_HOME__CANDIDATES(with two _ between "HOME" and "CANDIDATES") in line 34 to $OPENJAVA8_HOME_CANDIDATES(with only one _ between "HOME" and "CANDIDATES")
>  
> Can I create a pull request?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)