You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Attila Magyar (Jira)" <ji...@apache.org> on 2021/07/12 15:21:00 UTC

[jira] [Updated] (KNOX-2629) Fix new shellcheck errors

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

Attila Magyar updated KNOX-2629:
--------------------------------
    Status: Patch Available  (was: In Progress)

> Fix new shellcheck errors 
> --------------------------
>
>                 Key: KNOX-2629
>                 URL: https://issues.apache.org/jira/browse/KNOX-2629
>             Project: Apache Knox
>          Issue Type: Task
>            Reporter: Attila Magyar
>            Assignee: Attila Magyar
>            Priority: Major
>
> With shellcheck v0.7.2 lots of new errors are coming such as:
> {code:java}
> In gateway-release-common/home/bin/knox-functions.sh line 25:
> APP_HOME_DIR=$(dirname "$APP_BIN_DIR")
>                         ^----------^ SC2153: Possible misspelling: APP_BIN_DIR may not be assigned, but APP_PID_DIR is.For more information:
>   https://www.shellcheck.net/wiki/SC2153 -- Possible misspelling: APP_BIN_DIR...{code}
> {code:java}
> In ./gateway-shell-release/home/bin/knoxshell.sh line 30:
> . "$APP_BIN_DIR"/knox-functions.sh
>   ^-- SC1091: Not following: ./knox-functions.sh: openBinaryFile: does not exist (No such file or directory) {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)