You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandor Molnar (Jira)" <ji...@apache.org> on 2021/07/12 12:46:00 UTC
[jira] [Assigned] (KNOX-2629) Fix new shellcheck errors
[ https://issues.apache.org/jira/browse/KNOX-2629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sandor Molnar reassigned KNOX-2629:
-----------------------------------
Assignee: Attila Magyar
> 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)