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 10:54:00 UTC

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

Attila Magyar created KNOX-2629:
-----------------------------------

             Summary: 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


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)