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

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

Heting Zhang created BIGTOP-3018:
------------------------------------

             Summary: 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.3.0
            Reporter: Heting Zhang


detect-javahome script : [bigtop-packages/src/common/bigtop-utils/bigtop-detect-javahome|https://github.com/apache/bigtop/pull/334/files#diff-42838410d8a5b4abdcd6438aa5d3d75e]

 

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)